Wayne Bornall
2002-Apr-10 10:03 UTC
[Shorewall-users] I can''t connect to the internet with Shorewall.
Hi, I''ve installed Shorewall on Mandrake 8.1 and edited the interfaces and hosts file but I can''t connect to the internet with it. I can connect if I uninstall Shorewall. This is from my interfaces file: #ZONE INTERFACE BROADCAST OPTIONS net ppp0 And this is from my hosts file: #ZONE HOST(S) OPTIONS net ppp0:myip I did not edit the zones file and the shorewall start command etc works fine as far as I can see. Does someone know why I can''t connect to the internet? Thanks, Wayne Bornall _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com
Paul Gear
2002-Apr-10 11:29 UTC
[Shorewall-users] I can''t connect to the internet with Shorewall.
Wayne Bornall wrote:> Hi, > > I''ve installed Shorewall on Mandrake 8.1 and edited the interfaces and hosts > file but I can''t connect to the internet with it. I can connect if I > uninstall Shorewall. > > This is from my interfaces file: > > #ZONE INTERFACE BROADCAST OPTIONS > net ppp0 > > And this is from my hosts file: > > #ZONE HOST(S) OPTIONS > net ppp0:myip > > I did not edit the zones file and the shorewall start command etc works fine > as far as I can see. > > Does someone know why I can''t connect to the internet?You shouldn''t put your own IP in the ''net'' zone. If you have a simple one/two interface setup, you shouldn''t need to use the hosts file at all. Just the interfaces file is enough. Check out the one interface example at http://www.shorewall.net/pub/shorewall/LATEST.samples/one-interface.tgz. You may also have a problem with your policy or rules file - i can''t say because you haven''t said anything about them. Paul http://paulgear.webhop.net
Tom Eastep
2002-Apr-10 14:56 UTC
[Shorewall-users] I can''t connect to the internet with Shorewall.
On Wed, 10 Apr 2002, Wayne Bornall wrote:> Hi, > > I''ve installed Shorewall on Mandrake 8.1 and edited the interfaces and hosts > file but I can''t connect to the internet with it. I can connect if I > uninstall Shorewall. > > > This is from my interfaces file: > > #ZONE INTERFACE BROADCAST OPTIONS > net ppp0 > > > And this is from my hosts file: > > #ZONE HOST(S) OPTIONS > net ppp0:myip > > > I did not edit the zones file and the shorewall start command etc works fine > as far as I can see. > > Does someone know why I can''t connect to the internet? >You may want to check out the Shoreline QuickStart Guide: http://www.shorewall.net/shorewall_quickstart_guide.htm That should help you get your firewall up and running quickly. 90% of all Shorewall users don''t need to modify the hosts file and 80% of those who try to modify it get it wrong -- count yourself among the latter group. -Tom -- Tom Eastep \ Shorewall - iptables made easy AIM: tmeastep \ http://www.shorewall.net ICQ: #60745924 \ teastep@shorewall.net