debian/ubuntu下直接安装apt install rinetd配置文件在/etc/rinetd.conf配置格式bindaddress bindport connectaddress connectport如0.0.0.0 23333 1.1.1.1 22就是把所有访问到本机23333的TCP请求转发至1.1.1.1的22配置完systemctl restart rinetd即可
debian/ubuntu下直接安装apt install rinetd配置文件在/etc/rinetd.conf配置格式bindaddress bindport connectaddress connectport如0.0.0.0 23333 1.1.1.1 22就是把所有访问到本机23333的TCP请求转发至1.1.1.1的22配置完systemctl restart rinetd即可
/etc/network/interfaces[1] [2] iface [2] inet [3][1] 网卡模式 auto:开机自动使用 allow-hotplug:即插即用[2] 网卡设备名,如:eth0[3] 获取地址方式,如:动态直接跟dhcp静态 staticaddress 192.168.1.2/24gateway 192.168.1.1
setparams 'Windows 7' insmod part_msdos insmod ntfs insmod ntldr set root=(hd0,1) chainloader +1 boot其实能进linux时可以直接apt安装os-prober然后grub-update就完事了,可以自动识别到windows系统...
执行$ dpkg-reconfigure tzdata依次选择6(Asia)69(Shanghai)即可还可以直接$ tzselect这个CentOS通用
我们知道,TCP端口通不通可以简单的用telnet IP Port来判断,但是udp不行,udp也有类似工具,叫netcat$ apt install netcat安装完成后用法$ netcat -vuz IP UDPPort