Guest tdewire Posted December 8, 2009 Report Share Posted December 8, 2009 hello, I am configuring my system (2010)to act as a gateway to the internet for other window/linux boxes connected to it via a LAN. The host and the box on the LAN can access the internet with Drakfirewall turned off. With Drakfirewall on, the host system cannot access the internet via a browser; but the host can still down load updates, new programs ect. The other box on the LAN (windows7) can access the internet with the firewall turned on via it's browser. What am I missing in my firewall config? I'm new to linux, its great! - like 1986 again learning DOS. Link to comment Share on other sites More sharing options...
ianw1974 Posted December 8, 2009 Report Share Posted December 8, 2009 Chances are the firewall is requiring postrouting to nat the packets before they will pass through the machine to the internet. You said that when the firewall is disabled it works OK, so I would expect that you have ip routing enabled so it won't be that. This should help: http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch14_:_Linux_Firewalls_Using_iptables look at the section on masquerading (many to one nat). I don't know if the firewall is using iptables or shorewall, but this will be what you need anyway (if iptables) or similar if shorewall. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now