Skip to content

Instantly share code, notes, and snippets.

@pjobson
Created March 13, 2024 03:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjobson/a0e90c453556949e03519d35f7760eaf to your computer and use it in GitHub Desktop.
Save pjobson/a0e90c453556949e03519d35f7760eaf to your computer and use it in GitHub Desktop.
OpenWRT Allow Admin on WAN
Add to the end of: /etc/config/firewall
config rule
option name 'Allow-Admin-Wan'
list proto 'tcp'
option src 'wan'
option dest_port '22 80 443'
option target 'ACCEPT'
option enabled 'true'
Restart firewall: /etc/init.d/firewall reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment