Jump to content

Shorewall local zone [SOLVED]


Rainer
 Share

Recommended Posts

Hi - I'm unsure as to what constitutes a "local" zone in shorewall (for my comp) - after setting the default outbound policy to DROP in /etc/shorewall/policy with:

 

fw	net	DROP

 

you can then allow basic web surfing by adding this to /etc/shorewall/rules:

 

ACCEPT fw net udp 53
ACCEPT fw net tcp 80

 

ie you're allowing outbound DNS queries and outbound connections to port 80 - now, this works fine/good and everything's ok - but - what I am unsure about is whether "fw" is definately the correct representation of my local zone (in the above rules), as opposed to say "loc" or "eth0" or a private ip adress like "192.168.0.2".

 

Thanks.

Edited by Rainer
Link to comment
Share on other sites

  • 3 weeks later...

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...