小编Iai*_*own的帖子

iptables port forwarding with internal SNAT

I would like to forward an external port to a different port on a machine on a private network. However, I need to SNAT the traffic to appear to be from the gateway's internal IP, since the destination machine has a totally different outbound route. I'm combining two questions here, but I'm not sure if I can merge the results of asking them separately.

Gateway = 1.2.3.4/192.168.2.5, internal server = 192.168.2.10

  1. Forwarding to different port

I'm used to doing this, …

port-forwarding iptables

4
推荐指数
1
解决办法
2万
查看次数

标签 统计

iptables ×1

port-forwarding ×1