Skip to content

Instantly share code, notes, and snippets.

@laris
Last active October 25, 2018 05:56
Show Gist options
  • Save laris/1a549a8b50e63cc47ee8cce51746b530 to your computer and use it in GitHub Desktop.
Save laris/1a549a8b50e63cc47ee8cce51746b530 to your computer and use it in GitHub Desktop.
openwrt-port-forwarding-setting

LUCI Network/Firewall/Port Forwards

/etc/config/firewall

config redirect
        option target 'DNAT'
        option src 'wan'
        option dest 'lan'
        option proto 'tcp udp'
        option dest_ip '192.168.1.123'
        option name 'wan1234maplan2345'
        option src_dport '1234'
        option dest_port '2345'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment