This topic has been archived. It cannot be replied.
-
枫下家园 / 电脑用户 / 我的linux直接得到sympatico 的动态ip address(pppoe), 我想用iptables设定一个firewall(想要开放server like ftp) .在哪里有example? 谢谢。问题2,当我设定firewall configuration,否要用 NAT的功能?
-usis(人群中的卑微者,求知);
2004-5-6
(#1713008@0)
-
真难得有Linux user. Whick distribution are you using? Newest distribution like Fedora let you set up iptables during system installation. Or GUI tool for security settings.
-panomax(披着狼皮的羊);
2004-5-8
(#1715537@0)
-
sample
-speed(如风);
2004-5-8
(#1715539@0)
-
because pppoe and ip address change all the time, I start iptable from a script and restart it every time IP changes.I use
INET_IP=`/sbin/ifconfig ppp0 | grep 'inet addr' | awk -F: '{print $2 }'|awk '{print $1 }'`
to get PPP IP dynamicly.
You need NAT if you want the linux box to work as a router, and have two NICs and internet network.
-packet(hello);
2004-5-8
{233}
(#1715639@0)
-
i am using sympatico/ suse 9/ no-ip
Here is the script i use.
-647i(aaaa);
2004-5-10
(#1717476@0)
-
ppp0 sit on eth1. eth1 has no ipaddress. eth0 connect to intract net. ip address is 192.168.x.x
-647i(aaaa);
2004-5-10
(#1717478@0)