shorewall-5

Shorewall-5

/usr/share/doc/shorewall-5.0.14.1/Samples/two-interfaces

# cp /usr/share/doc/shorewall-5.0.14.1/Samples/two-interfaces/* /etc/shorewall

policy

# For information about entries in this file, type "man shorewall-policy"

###############################################################################

#SOURCE         DEST            POLICY          LOG LEVEL       LIMIT:BURST

loc             net              ACCEPT

loc             fw               ACCEPT

loc             all              REJECT                 info

# Policies for traffic originating from the firewall (fw)

fw             net               ACCEPT

fw             loc               ACCEPT

fw             all               REJECT                 info

# Policies for traffic originating from the Internet zone (net)

net             fw                 DROP                 info

net             loc                DROP                 info

net             all                DROP                 info

# THE FOLLOWING POLICY MUST BE LAST

all             all               REJECT                info

-------------------------------------------------------------------------------