This commit is contained in:
anlicheng 2026-02-21 21:43:35 +08:00
parent 9429518aa2
commit 60516e83e0
2 changed files with 8 additions and 8 deletions

View File

@ -9,7 +9,7 @@
]}, ]},
{quic_server, [ {quic_server, [
{port, 1365}, {port, 443},
{alpn, ["punchnet/1.0"]}, {alpn, ["punchnet/1.0"]},
{limits, [ {limits, [
{max_packet_size, 16384}, {max_packet_size, 16384},
@ -23,17 +23,17 @@
%% stun类型探测相当于有个类型 %% stun类型探测相当于有个类型
{stun_servers, [ {stun_servers, [
{port, 1265}, {port, 1365},
{acceptor_nums, 5} {acceptor_nums, 5}
]}, ]},
{stun_port_assist, [ {stun_port_assist, [
{port, 1266} {port, 1366}
]}, ]},
{stun_peer_assist, [ {stun_peer_assist, [
{ip, {47,98,178,3}}, {ip, {47,98,178,3}},
{port, 1266} {port, 1366}
]}, ]},
%% 公共的dns域名解析服务 %% 公共的dns域名解析服务

View File

@ -9,7 +9,7 @@
]}, ]},
{quic_server, [ {quic_server, [
{port, 1365}, {port, 443},
{alpn, ["punchnet/1.0"]}, {alpn, ["punchnet/1.0"]},
{limits, [ {limits, [
{max_packet_size, 16384}, {max_packet_size, 16384},
@ -23,17 +23,17 @@
%% stun类型探测相当于有个类型 %% stun类型探测相当于有个类型
{stun_servers, [ {stun_servers, [
{port, 1265}, {port, 1365},
{acceptor_nums, 1} {acceptor_nums, 1}
]}, ]},
{stun_port_assist, [ {stun_port_assist, [
{port, 1266} {port, 1366}
]}, ]},
{stun_peer_assist, [ {stun_peer_assist, [
{ip, {47,98,178,3}}, {ip, {47,98,178,3}},
{port, 1266} {port, 1366}
]}, ]},
%% 公共的dns域名解析服务 %% 公共的dns域名解析服务