端口映射(二)-- Redir / iptables

1、Redir

1.1、安装Redir

1
apt install redir -y

1.2、配置

将本地11510端口转到192.168.180.10的443端口

1
redir :11510 192.168.180.10:443

2、iptables

iptables配置太复杂了,来个一键脚本吧。

1
bash <(curl -fsSL https://raw.githubusercontent.com/arloor/iptablesUtils/master/natcfg.sh)

端口映射(二)-- Redir / iptables

https://meloncloud.github.io/forward2/

Author

MelonCloud

Posted on

2024-11-08

Updated on

2024-11-08

Licensed under

Comments