Created
May 7, 2026 05:22
-
-
Save spvkgn/45c5c07992e66eca865ae9eb3b63237d to your computer and use it in GitHub Desktop.
DNAT GitHub Fastly
This file contains hidden or 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
| uci add firewall redirect | |
| uci set firewall.@redirect[-1].name='Redir-GitHub-110-108' | |
| uci set firewall.@redirect[-1].proto='tcp udp' | |
| uci set firewall.@redirect[-1].src='lan' | |
| uci set firewall.@redirect[-1].src_dip='185.199.110.133' | |
| uci set firewall.@redirect[-1].src_dport='443' | |
| uci set firewall.@redirect[-1].dest='wan' | |
| uci set firewall.@redirect[-1].dest_ip='185.199.108.133' | |
| uci set firewall.@redirect[-1].dest_port='443' | |
| uci set firewall.@redirect[-1].target='DNAT' | |
| uci commit firewall | |
| uci add firewall redirect | |
| uci set firewall.@redirect[-1].name='Redir-GitHub-111-109' | |
| uci set firewall.@redirect[-1].proto='tcp udp' | |
| uci set firewall.@redirect[-1].src='lan' | |
| uci set firewall.@redirect[-1].src_dip='185.199.111.133' | |
| uci set firewall.@redirect[-1].src_dport='443' | |
| uci set firewall.@redirect[-1].dest='wan' | |
| uci set firewall.@redirect[-1].dest_ip='185.199.109.133' | |
| uci set firewall.@redirect[-1].dest_port='443' | |
| uci set firewall.@redirect[-1].target='DNAT' | |
| uci commit firewall | |
| service firewall restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment