|
发表于 2007-11-1 18:59:39
|
显示全部楼层
我也做了下测试,两台ros,第一台ros做pppoeserver,然后5个vpn出站,以实现出站IP不同.
第二台ros拨号到第一台ros
家里电脑就2台.只会qq游戏,玩了会没掉线.
待续////,,,,,
/ ip firewall mangle
add chain=prerouting action=mark-connection new-connection-mark=ADSL1 \
passthrough=yes connection-state=new src-address=8.8.8.0/24 random=20 \
comment="" disabled=no
add chain=prerouting action=mark-routing new-routing-mark=adsl1 passthrough=no \
src-address=8.8.8.0/24 connection-mark=ADSL1 comment="" disabled=no
add chain=prerouting action=mark-connection new-connection-mark=ADSL2 \
passthrough=yes connection-state=new src-address=8.8.8.0/24 random=25 \
comment="" disabled=no
add chain=prerouting action=mark-routing new-routing-mark=adsl2 passthrough=no \
src-address=8.8.8.0/24 connection-mark=ADSL2 comment="" disabled=no
add chain=prerouting action=mark-connection new-connection-mark=ADSL3 \
passthrough=yes connection-state=new src-address=8.8.8.0/24 random=33 \
comment="" disabled=no
add chain=prerouting action=mark-routing new-routing-mark=adsl3 passthrough=no \
src-address=8.8.8.0/24 connection-mark=ADSL3 comment="" disabled=no
add chain=prerouting action=mark-connection new-connection-mark=ADSL4 \
passthrough=yes connection-state=new src-address=8.8.8.0/24 random=50 \
comment="" disabled=no
add chain=prerouting action=mark-routing new-routing-mark=adsl4 passthrough=no \
src-address=8.8.8.0/24 connection-mark=ADSL4 comment="" disabled=no
add chain=prerouting action=mark-connection new-connection-mark=ADSL5 \
passthrough=yes connection-state=new src-address=8.8.8.0/24 comment="" \
disabled=no
add chain=prerouting action=mark-routing new-routing-mark=adsl5 passthrough=no \
src-address=8.8.8.0/24 connection-mark=ADSL5 comment="" disabled=no
[ 本帖最后由 ksw520 于 2007-11-1 19:01 编辑 ] |
-
-
|