分类: LINUX
2013-05-20 11:31:00
在/etc/rc.local下加以下命令
echo "1">/proc/sys/net/ipv4/ip_forward
/sbin/iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
/sbin/iptables -t nat -I PREROUTING -i eth0 -p udp --dport 53 -j DNAT --to-destination 58.240.57.33:53