Xray-core/app
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
..
commander Reformat code 2022-05-18 15:29:01 +08:00
dispatcher Reformat code (quic sniffers) 2022-05-24 06:57:16 +08:00
dns Unify dns log 2022-07-24 23:54:58 -04:00
log Reformat code 2022-05-18 15:29:01 +08:00
metrics Reformat code 2022-05-18 15:29:01 +08:00
observatory Reformat code 2022-05-18 15:29:01 +08:00
policy Fix: protobuf file (#724) 2021-09-20 22:41:09 +08:00
proxyman Add "tproxy" option (#1189) 2022-08-20 09:02:18 -04:00
reverse Reformat code 2022-05-18 15:29:01 +08:00
router Reformat code 2022-05-18 15:29:01 +08:00
stats Reformat code 2022-05-18 15:29:01 +08:00
app.go v1.0.0 2020-11-25 19:01:53 +08:00