好多好多使用技巧!~ iptables Port Mapping: # Route incoming ppp0 at port 80, to 192.168.1.1:22(ssh)iptables -A PREROUTING -t nat -p tcp -i ppp0 --dport 80 -j DNAT --to 192.168.1.1:22 iptables 更完善的IP Masquerading: # Load required modules#insmod ip_tables#insmod ip_conntrack#insmod iptable_nat#insmod ipt_MASQUERADE# Then flush all rulesiptables -Fiptables -t nat -F# Below me...
[ 查看全文 ]