Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up some redundant rules in the external class. #37

Merged
merged 1 commit into from
Nov 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions classes.d/external
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
# Apply common host policy (from localhost.if) to out direction
#policy out host

# Host apply default rules after host policy
# Apply default rules after host policy
# Reject any inbound traffic received on this machine
policy in reject
# Allow any outbound traffic generated on this machine
policy out accept

# Masquerade any traffic leaving onto the IP of this interface
Expand All @@ -30,12 +32,9 @@ policy postrouting masquerade
# Portforward external port 1234 to 1.2.3.4:5678
#policy prerouting tcp dport 1234 dnat 1.2.3.4:5678

# Having issues with stupid people breaking path MTU?
# Having issues with people breaking path MTU?
# policy out ip daddr 1.2.3.4 tcp flags syn tcp option maxseg size set 576

# Allow any traffic generated on this machine out to the Internet
policy out accept

# Keep the internet clean - block known MS worm traffic
policy forward REJECT-MS

Expand Down