Jump to content

Firewall Blocks Host


Guest tdewire
 Share

Recommended Posts

Guest tdewire

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...