由 网络蛀虫 在 08-05-2004 23:31 发表:
如何用linux做网关?
我是做网吧的,我想用linux9。0来做网关。我用的是固定ip的光纤(ip是:61.144.241.218)我想做成一开好机下面的机子就可以通过它来代理上网,(可以不用手标键盘显示器的那种)。我在电脑报上看过这样的文章,但是看不明白(没办法,谁叫我是菜鸟呢,linux我才装过一次),谁能不能很详细的给我说明该然后做,比如:用root登陆,然后输入cd etc。。。等等。我极其希望会linux的高手加我的QQ:99311533指点一二,在下感激不尽!
大家一起学习,一起进步,进步在于相互的交流。
我要学linux
由 szkingrose 在 08-06-2004 08:04 发表:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -j MASQUERADE
由 smile787 在 08-06-2004 14:29 发表:
先在论坛搜索iptables的资料,自己先做做看,然后有问题再大家讨论一下
由 Snoopy 在 08-08-2004 15:38 发表:
你的ip地址给人家做网关,squid+iptables
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I