mirror of https://github.com/XTLS/Xray-core
Added the function of "MacOS" FreeBSD firewall traffic forwarding and resolving destination address
example:
"inbounds": [
{
"listen": "127.0.0.1",
"port": 1122,
"protocol": "dokodemo-door",
"tag": "dokodemo",
"settings": {
"network": "tcp",
"followRedirect": true,
"userLevel": 0
},
"streamSettings": {
"sockopt": {
"tproxy": "Redirect"
}
}
}
]
还原#1189 提交
|
||
|---|---|---|
| .. | ||
| cnc | ||
| address.go | ||
| address.pb.go | ||
| address.proto | ||
| address_test.go | ||
| destination.go | ||
| destination.pb.go | ||
| destination.proto | ||
| destination_test.go | ||
| errors.generated.go | ||
| net.go | ||
| network.go | ||
| network.pb.go | ||
| network.proto | ||
| port.go | ||
| port.pb.go | ||
| port.proto | ||
| port_test.go | ||
| system.go | ||