Skip to content

Commit

Permalink
fix: shadowsocks firewall
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Jul 4, 2024
1 parent 91b7823 commit 507b680
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/run.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ add2iptables46 "OUTPUT -p udp -j ACCEPT"
add2iptables46 "OUTPUT -p tcp -j ACCEPT"
add2iptables46 "INPUT -i lo -j ACCEPT"

{% if hconfigs['shadowsocks2022_enable'] %}
allow_port "udp" {{hconfigs['shadowsocks2022_port']}} #shadowsocks
allow_port "tcp" {{hconfigs['shadowsocks2022_port']}} #shadowsocks
{% endif %}

{% for d in domains if d['internal_port_hysteria2'] or d['internal_port_tuic'] %}
{% if d['internal_port_hysteria2']>0 %}
Expand Down

0 comments on commit 507b680

Please sign in to comment.