Skip to content

Commit

Permalink
Update install_openWRT2.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberAndi authored Aug 16, 2023
1 parent d15c2d5 commit 7fd51eb
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions install_openWRT2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22076,21 +22076,21 @@ uci set firewall.ssh_int.src_dport="$SSH_port"
uci set firewall.ssh_int.proto="tcp"
uci set firewall.ssh_int.target="DNAT"

uci -q delete firewall.http_int >/dev/null
uci set firewall.http_int="redirect"
uci set firewall.http_int.name="Intercept_HTTP"
uci set firewall.http_int.src="INET"
uci set firewall.http_int.src_dport="$ACCESS_HTTP_port"
uci set firewall.http_int.proto="tcp"
uci set firewall.http_int.target="DNAT"

uci -q delete firewall.https_int
uci set firewall.https_int="redirect"
uci set firewall.https_int.name="Intercept_HTTPS"
uci set firewall.https_int.src="INET"
uci set firewall.https_int.src_dport="$ACCESS_HTTPS_port"
uci set firewall.https_int.proto="tcp"
uci set firewall.https_int.target="DNAT"
#uci -q delete firewall.http_int >/dev/null
#uci set firewall.http_int="redirect"
#uci set firewall.http_int.name="Intercept_HTTP"
#uci set firewall.http_int.src="INET"
#uci set firewall.http_int.src_dport="$ACCESS_HTTP_port"
#uci set firewall.http_int.proto="tcp"
#uci set firewall.http_int.target="DNAT"

#uci -q delete firewall.https_int
#uci set firewall.https_int="redirect"
#uci set firewall.https_int.name="Intercept_HTTPS"
#uci set firewall.https_int.src="INET"
#uci set firewall.https_int.src_dport="$ACCESS_HTTPS_port"
#uci set firewall.https_int.proto="tcp"
#uci set firewall.https_int.target="DNAT"

uci commit firewall && reload_config >/dev/null

Expand Down

0 comments on commit 7fd51eb

Please sign in to comment.