42 lines
919 B
PHP
42 lines
919 B
PHP
|
{
|
||
|
"modes": [
|
||
|
"ipv4_tcp_udp"
|
||
|
],
|
||
|
"common": {
|
||
|
"server_port":443,
|
||
|
"local_address":"127.0.0.1",
|
||
|
"local_port":1080,
|
||
|
"password":"hello_kitty",
|
||
|
"timeout":3600,
|
||
|
"method":"aes-256-gcm",
|
||
|
"mode":"tcp_and_udp",
|
||
|
"fast_open":true,
|
||
|
"ipv6_first":false,
|
||
|
"reuse_port":true,
|
||
|
"protocol":"redir",
|
||
|
"plugin_mode":"tcp_only",
|
||
|
"tcp_redir":"redirect",
|
||
|
"#tcp_redir":"tproxy",
|
||
|
"udp_redir":"tproxy"
|
||
|
},
|
||
|
"ipv4_tcp_udp": {},
|
||
|
"ipv6_tcp_udp": {
|
||
|
"local_address":"::1"
|
||
|
},
|
||
|
"ipv4_tcp_only": {
|
||
|
"mode": "tcp_only"
|
||
|
},
|
||
|
"ipv4_udp_only": {
|
||
|
"mode": "udp_only"
|
||
|
},
|
||
|
"ipv6_tcp_only": {
|
||
|
"local_address":"::1",
|
||
|
"mode": "tcp_only"
|
||
|
},
|
||
|
"ipv6_udp_only": {
|
||
|
"local_address":"::1",
|
||
|
"mode": "udp_only"
|
||
|
},
|
||
|
"ipv4_ipv6_tcp_udp": {}
|
||
|
}
|