OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of or2me »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Topics - or2me

Pages: [1]
1
20.1 Legacy Series / Can't redirect TCP/UDP traffic to socks5 transparent proxy?
« on: April 13, 2020, 05:51:11 am »
像redsocks、ss-redir(shadowsocks)、clash等客户端可以开启一个socks5的透明代理。在LEDE、linux平台上,可以通过IPtables将流量重定向到这个socks5透明代理端口。比如我可以把所有访问YouTube的流量重定向到这个端口。但是在opnsense上设置了端口转发规则后并不能生效。我可以转发流量到另一个http端口,也可以转发流量到squid的http透明代理,但是当我转发到一个socks5的透明代理时,没有任何事情发生。

Clients like redsocks, ss-redir (shadowsocks), clash, etc. can open a socks5 transparent proxy. On LEDE and Linux platforms, traffic can be redirected to this socks5 transparent proxy port through IPtables. For example, I can redirect all traffic to YouTube to this port. However, the port forwarding rule set on opnsense does not take effect. I can forward traffic to another http port, or I can forward traffic to Squid's http transparent proxy, but when I forward to a socks5 transparent proxy, nothing happens.

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2