救助达人: 单线PPPOE拔号 ROS设置故障
脚本器生成LAN设置
/ ip add add interface=lan1 address=192.168.1.254/255.255.255.0
WAN (PPPOE设置)
/ interface pppoe-client add name="pppoe-adsl" interface=wan1 user="帐号" password="密码" add-default-route=yes disabled=no
/ ip firewall nat add action=masquerade chain=srcnat src-address=192.168.1.0/255.255.255.0
/ ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1400
为什么怎么调都连不到外网上去啊。。 PPPOE也连上了。高了半天了。无语中 没人帮一下吗 DNS设了没? 你设置错了???
/ip address add address=192.168.1.254/255.255.255.0 interface=LAN comment=lan
/interface pppoe-client add name=pppoe-out1 interface=WAN user=帐号password=密码 add-default-route=yes disabled=no
/ip firewall nat add chain=srcnat action=masquerade src-address=192.168.1.0/255.255.255.0
/ip dns set primary-dns=202.96.134.133 secondary-dns=202.96.128.68
/ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1440
这个是ros3.X的?
页:
[1]