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
..
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2021-10-26 13:00:31 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2020-11-25 19:01:53 +08:00
2022-05-18 15:29:01 +08:00
2020-12-04 09:36:16 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2021-10-22 13:06:57 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2020-12-04 09:36:16 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2021-03-07 04:39:50 +00:00
2021-03-07 04:39:50 +00:00
2020-11-25 19:01:53 +08:00
2021-03-06 16:29:17 +00:00
2022-05-18 15:29:01 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2020-12-04 09:36:16 +08:00
2020-12-04 09:36:16 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2021-03-14 15:02:07 +00:00
2022-05-18 15:29:01 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2022-05-23 22:18:33 +08:00