Xray-core/infra/conf
S-Mocking 59602db02d
Add "tproxy" option (#1189)
* Add "tproxy" option
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": "pf"
        }
      }
    }
  ]

* Add "tproxy" option
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": "pf"
        }
      }
    }
  ]

* Add "tproxy" option
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": "pf"
        }
      }
    }
  ]

Co-authored-by: Mocking <fanhaiwang0817@gmail.com>
2022-08-20 09:02:18 -04:00
..
cfgcommon/duration Observatory related fixes (#788) 2021-10-26 13:00:31 +08:00
json Reformat code 2022-05-18 15:29:01 +08:00
serial Reformat code 2022-05-18 15:29:01 +08:00
api.go Observatory related fixes (#788) 2021-10-26 13:00:31 +08:00
blackhole_test.go v1.1.0 2020-12-04 09:36:16 +08:00
blackhole.go Reformat code 2022-05-18 15:29:01 +08:00
buildable.go v1.0.0 2020-11-25 19:01:53 +08:00
common_test.go Reformat code 2022-05-18 15:29:01 +08:00
common.go fix: read port from environment variable 2022-04-26 10:27:42 -04:00
conf.go v1.1.0 2020-12-04 09:36:16 +08:00
dns_proxy_test.go v1.1.0 2020-12-04 09:36:16 +08:00
dns_proxy.go Reformat code 2022-05-18 15:29:01 +08:00
dns_test.go Reformat code 2022-05-18 15:29:01 +08:00
dns.go Feat: add reverse match for GeoIP 2021-10-22 13:06:57 +08:00
dokodemo_test.go v1.1.0 2020-12-04 09:36:16 +08:00
dokodemo.go Reformat code 2022-05-18 15:29:01 +08:00
errors.generated.go v1.1.0 2020-12-04 09:36:16 +08:00
fakedns.go Fix some tests and format code (#830) 2021-12-14 19:28:47 -05:00
freedom_test.go v1.1.0 2020-12-04 09:36:16 +08:00
freedom.go Reformat code 2022-05-18 15:29:01 +08:00
general_test.go Reformat code 2022-05-18 15:29:01 +08:00
grpc.go Reformat code 2022-05-18 15:29:01 +08:00
http_test.go v1.1.0 2020-12-04 09:36:16 +08:00
http.go Reformat code 2022-05-18 15:29:01 +08:00
init.go Add Fake DNS support (#309) 2021-03-07 04:39:50 +00:00
lint.go Add Fake DNS support (#309) 2021-03-07 04:39:50 +00:00
loader.go v1.0.0 2020-11-25 19:01:53 +08:00
log.go Enhance DNS and Dialer (#341) 2021-03-06 16:29:17 +00:00
loopback.go Reformat code 2022-05-18 15:29:01 +08:00
metrics.go feat: metrics including pprof, expvars 2022-03-29 00:01:14 -04:00
mtproto_test.go v1.1.0 2020-12-04 09:36:16 +08:00
mtproto.go Reformat code 2022-05-18 15:29:01 +08:00
observatory.go Reformat code 2022-05-18 15:29:01 +08:00
policy_test.go v1.1.0 2020-12-04 09:36:16 +08:00
policy.go v1.1.0 2020-12-04 09:36:16 +08:00
reverse_test.go v1.1.0 2020-12-04 09:36:16 +08:00
reverse.go Reformat code 2022-05-18 15:29:01 +08:00
router_strategy.go Observatory related fixes (#788) 2021-10-26 13:00:31 +08:00
router_test.go Reformat code 2022-05-18 15:29:01 +08:00
router.go Reformat code 2022-05-18 15:29:01 +08:00
shadowsocks_legacy.go Add udp over tcp support for shadowsocks-2022 2022-06-01 11:49:02 +08:00
shadowsocks_test.go remove deprecate ciphers in shadowsocks (#710) 2021-09-17 04:13:07 +08:00
shadowsocks.go Add shadowsocks 2022 relay config 2022-08-09 10:37:21 -04:00
socks_test.go v1.1.0 2020-12-04 09:36:16 +08:00
socks.go Reformat code 2022-05-18 15:29:01 +08:00
transport_authenticators.go Reformat code 2022-05-18 15:29:01 +08:00
transport_internet.go Add "tproxy" option (#1189) 2022-08-20 09:02:18 -04:00
transport_test.go Reformat code 2022-05-18 15:29:01 +08:00
transport.go Add gRPC Transport support (#356) 2021-03-14 15:02:07 +00:00
trojan.go Reformat code 2022-05-18 15:29:01 +08:00
vless_test.go v1.1.0 2020-12-04 09:36:16 +08:00
vless.go Reformat code 2022-05-18 15:29:01 +08:00
vmess_test.go Fix some tests and format code (#830) 2021-12-14 19:28:47 -05:00
vmess.go Reformat code 2022-05-18 15:29:01 +08:00
xray_test.go Reformat code 2022-05-18 15:29:01 +08:00
xray.go Merge shadowsocks 2022 config 2022-05-23 22:18:33 +08:00