技术简记/

OpenWrt 固件设置 DMZ 主机功能

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

留下一条评论

暂无评论