Skip to content

Commit

Permalink
fix: ipv6 issue in tuic and hysteria
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Feb 14, 2024
1 parent a46ce79 commit d4b8210
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion singbox/configs/05_inbounds_10_ss_new.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"inbounds": [
{
"tag":"ss-new",
"listen": {% if hconfigs['shadowsocks2022_enable']%}"0.0.0.0"{%else%}"127.0.0.1"{%endif%},
"listen": {% if hconfigs['shadowsocks2022_enable']%}"::"{%else%}"127.0.0.1"{%endif%},
"listen_port":{{hconfigs['shadowsocks2022_port']}},
"tcp_fast_open": true,
"sniff": true,
Expand Down
2 changes: 1 addition & 1 deletion singbox/configs/05_inbounds_4010_tuic.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"type": "tuic",
"tag": "tuic_in_{{port}}",
"listen": "0.0.0.0",
"listen": "::",
"listen_port": {{ port }},
"tcp_fast_open": true,
"sniff": true,
Expand Down
2 changes: 1 addition & 1 deletion singbox/configs/05_inbounds_4100_hysteria.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"type": "hysteria2",
"tag": "hysteria_in_{{port}}",
"listen": "0.0.0.0",
"listen": "::",
"listen_port": {{ port }},
"up_mbps": {{ chconfigs[d['child_id']]['hysteria_up_mbps'] }},
"down_mbps": {{ chconfigs[d['child_id']]['hysteria_down_mbps'] }},
Expand Down

0 comments on commit d4b8210

Please sign in to comment.