Created
March 13, 2024 03:50
-
-
Save pjobson/a0e90c453556949e03519d35f7760eaf to your computer and use it in GitHub Desktop.
OpenWRT Allow Admin on WAN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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