openwrt 外网访问

很简单修改 /etc/config/network,添加如下

config rule # allow web
      option name Allow-wan-80
      option target ACCEPT
      option target_port 80
      option proto tcp
      option src wan

config rule # allow ssh, port 22
      option name Allow-wan-ssh
      option target ACCEPT
      option target_port 22
      option proto tcp
      option src wan

重启防火墙/etc/init.d/firewall restart 即可

上一篇:思科SD-WAN


下一篇:一文看懂SD-WAN和云服务如何实现精益分支