leafxen
V2EX  ›  问与答

利用 nftables 怎么把一个主机的端口流量转发到路由器的指定端口

  •  
  •   leafxen · Aug 5, 2024 · 1268 views
    This topic created in 665 days ago, the information mentioned may be changed or developed.
    1 、由于种种原因,公司路由器只开放了 2 个端口(其中一个姑且称它为 6000 吧),且不让再开端口,也不让做端口映射,宽带是 500 兆专线上下行对等,IP 是固定的。

    2 、内网服务器 IP 是 192.168.1.99 ,路由器 IP 是 192.168.1.1 。服务器安装了 wg 、nftables ,wg 用的端口是 5000 ,怎么配置 nftables 能让服务器的 5000 端口的流量转发到路由器的 6000 端口?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5622 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 07:52 · PVG 15:52 · LAX 00:52 · JFK 03:52
    ♥ Do have faith in what you're doing.