PPPOE单线安装命令行版
本帖最后由 郑州金手指科技 于 2012-5-23 13:56 编辑01、/sys ide set name=pppoe
02、/int pri
03、/int set 0 name=lan
04、/int set 1 name=pppoe
05、/ip addr add addr=192.168.0.1/24 int=lan
06、/int pppoe-client add user=宽带帐号 password=宽带密码 int=pppoe disabled=no
07、/ip firewall nat add chain=srcnat action=masquerade src-address=192.168.0.0/24
08、/ip dns set allow-remote-requests=yes server=202.102.224.68,202.102.227.68
09、/ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1440
10、/ip fir nat add chain=srcnat act=mas
11、/tool bandwidth-s set ena=no
12、/ip ser set disabled=yes www
13、/ip ser set disabled=yes ftp
14、/ip ser set disabled=yes ssh
15、/pass
16、/sy reboot
17、/system license pr
此脚本在5.X版本中测试通过. 对于命令行我相信无需解释很多.不懂的先看下RouterOS的常用命令.
页:
[1]