Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
qazwsxkevin
V2EX  ›  Linux

Linux 有没有这样现成的实现? subnet interface traffic(TCP/UDP) route over sock5?

  •  
  •   qazwsxkevin · Dec 8, 2023 · 1216 views
    This topic created in 906 days ago, the information mentioned may be changed or developed.

    1 、生成一个 netwrok interface ,如 172.16.1.0/24,gw:172.16.1.254
    2 、这个 subnet interface 的 tcp/udp 流量,指向 gw 的,可被封装转发到一个路由可达的 sock5 ,就像 NAT 那样。
    3 、就像 NAT 那样实现
    4 、ICMP,IGMP 那些就无所谓了。

    2 replies    2023-12-13 09:31:58 +08:00
    ho121
        1
    ho121  
       Dec 8, 2023   ❤️ 2
    flynaj
        2
    flynaj  
       Dec 13, 2023 via Android
    生成接口就是 VPN 了,转发到 socks5 就是支持代理的 VPN ,gost 可以,基本上大多数 VPN 软件都可以
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5608 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 08:55 · PVG 16:55 · LAX 01:55 · JFK 04:55
    ♥ Do have faith in what you're doing.