公用猫上网

由 wheel 在 05-16-2003 03:52 发表:

公用猫上网

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE


由 doooom 在 05-16-2003 06:19 发表:


最好定一下转的地址,iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.0.27/32 -j MASQUERADE

否则是不是外网也可以用了?

<font face="腩

Published At
Categories with 服务器类
comments powered by Disqus