马上注册成为ROSABC会员,随时发帖回复。
您需要 登录 才可以下载或查看,没有账号?会员注册
x
ROS软路由3.30 2*adsl
没做nth时ddns脚本在终端运行通过,nth后在终端运行报超时。
/ip firewall nat
add action=masquerade chain=srcnat comment="" disabled=no
/ppp profile
add change-tcp-mss=yes comment="" name=pppoe-out1 only-one=default
remote-address=1.1.1.1 use-compression=default use-encryption=default
use-vj-compression=default
add change-tcp-mss=yes comment="" name=pppoe-out2 only-one=default
remote-address=2.2.2.2 use-compression=default use-encryption=default
use-vj-compression=default
/ip firewall mangle
add action=mark-connection chain=prerouting connection-state=new disabled=no
in-interface=lan new-connection-mark=1 nth=2,1 passthrough=yes src-address=192.168.0.2-192.168.0.254
add action=mark-routing chain=prerouting comment="" connection-mark=1
disabled=no in-interface=lan new-routing-mark=1 passthrough=yes
add action=mark-connection chain=prerouting connection-state=new disabled=no
in-interface=lan new-connection-mark=2 nth=2,2 passthrough=yes src-address=192.168.0.2-192.168.0.254
add action=mark-routing chain=prerouting comment="" connection-mark=2
disabled=no in-interface=lan new-routing-mark=2 passthrough=yes
/ip route
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=1.1.1.1
routing-mark=1 scope=255 target-scope=10
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=2.2.2.2
routing-mark=2 scope=255 target-scope=10
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=
1.1.1.1,2.2.2.2 scope=255 target-scope=10 |