A few hours ago I installed the last version of shorewall
in my linux RedHat 7.2 kernel 2.4.7.10. I also installed the files for
two interfaces changing some variables for my use, I have an ADSL
connection in my linux where I have two interfaces. An interface
Ethernet is connected to my ADSL Modem and the another interface is
connected to my hub where I have 2 computers with a private ip
192.168.1.0/24 ok, my question is, do I set up the policy in this form?
:
loc net ACCEPT , All connections from my local
net to internet are allowed
loc fw ACCEPT , All connections from my local
net to my firewall are allowed
fw loc ACCEPT, All connections from my firewall
to my local net are allowed
fw net ACCEPT , All connections from my
firewall to Internet are allowed
net all DROP, All connections from internet to
my firewall are ignored
all all REJECT , All other connections requests
are rejected
In these configurations I can to do everything from my firewall and from
my local net, the file rules I didn''t do any changes.
is this configuration correct or not?? Can you help me if
this configuration is wrong? , my other doubt is that I get a wrong
message if I set up info in the file Policy when logging at level
Kernel.info.
Thanks for your help.