1.ssh连接到openwrt
ssh root@192.168.2.1
2.编辑 /etc/config/firewall,末尾追加下面内容
config redirect
option src wan
option proto all
option dest_ip 192.168.2.102
option target DNAT
3.重启 firewall
/etc/init.d/firewall restart
暂无评论