Skip to content

Instantly share code, notes, and snippets.

@sstelfox
Created May 16, 2018 15:21
Show Gist options
  • Save sstelfox/4ec0926af95bfb54f5f58a17174d5b99 to your computer and use it in GitHub Desktop.
Save sstelfox/4ec0926af95bfb54f5f58a17174d5b99 to your computer and use it in GitHub Desktop.
upnp2 {
acl {
rule 10 {
action deny
local-port 0-1024
subnet 0.0.0.0/0
}
rule 20 {
action deny
external-port 0-1024,1080,5432,8000,8080,8081,8088,8443,8888,9100,9200
subnet 0.0.0.0/0
}
rule 30 {
action deny
local-port 0-1024,1080,5432,8000,8080,8081,8088,8443,8888,9100,9200
subnet 0.0.0.0/0
}
rule 40 {
action allow
subnet 10.202.254.0/24
}
rule 100 {
action deny
subnet 0.0.0.0/0
}
}
listen-on switch0
nat-pmp disable
secure-mode enable
wan eth0.2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment