echo "1" > /proc/sys/net/ipv4/ip_forward
iptables -A POSTROUTING -t nat -o ppp0 -j MASQUERADE
iptables -A POSTROUTING -t nat -o ppp1 -j MASQUERADE
ip route replace default scope global nexthop dev ppp0 nexthop dev ppp1
ip route flush cache
阅读(1811) | 评论(0) | 转发(0) |