Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Shorewall version 4 - Policy File
- #
- # For information about entries in this file, type "man shorewall-policy"
- #
- # The manpage is also online at
- # http://www.shorewall.net/manpages/shorewall-policy.html
- #
- ###############################################################################
- #SOURCE DEST POLICY LOG LIMIT: CONNLIMIT:
- # LEVEL BURST MASK
- #
- # Block this machine from accessing NET ZONE accept for exceptions in /etc/shorewall/rules
- #$FW net DROP ULOG
- # Allow NET Zone when not on VPN - (Allow all connection requests from the firewall to the Internet)
- $FW net ACCEPT
- # Allow this machine to access the VPN ZONE for everything
- $FW vpn ACCEPT
- # Block anything from the NET ZONE to all other zones - (Drop (ignore) all connection requests from the Internet to your firewall)
- net all DROP ULOG
- # Block from using another connection
- net net NONE
- #
- # The FOLLOWING POLICY MUST BE LAST
- #
- # Block everything else - (Reject all other connection requests (Shorewall requires this catchall policy)
- all all REJECT ULOG
Advertisement
Add Comment
Please, Sign In to add comment