Menu

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.

Show posts Menu

Messages - or2me

#1
楼主写的很好 我补充几点
1、如果用clash自己的tun模式,那么记得要回去把配置文件里面的那个name改成 opn识别出来的名称;
2、楼主说的那几个IP。比如你本来网段是192.168.1.1/24,那么可以配192.168.1.2
#2
像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.