谢谢,好好研究一下!
顶顶顶一下
我也來看看是不是神本
看看怎么样.
感谢楼主分享
多谢分享,顶~~~~
看是不是神本!
看看是不是神本!
/ip address add address=192.168.2.254/255.255.255.0 interface=lan comment=lan
/ip dns set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=512 servers=202.102.224.68,202.102.227.68
/ip address add address=192.168.1.190/255.255.255.0 interface=cnc001
/ip address add address=192.168.1.200/255.255.255.0 interface=cnc002
/ ip firewall mangle
add chain=prerouting dst-address-type=!local in-interface=lan per-connection-classifier=both-addresses:2/0 \
action=mark-connection new-connection-mark=1st_conn passthrough=yes comment="PCC1"
add chain=prerouting connection-mark=1st_conn in-interface=lan action=mark-routing new-routing-mark=1st_route
add chain=prerouting dst-address-type=!local in-interface=lan per-connection-classifier=both-addresses:2/1 \
action=mark-connection new-connection-mark=2st_conn passthrough=yes comment="PCC2"
add chain=prerouting connection-mark=2st_conn in-interface=lan action=mark-routing new-routing-mark=2st_route
add chain=input in-interface=cnc001 action=mark-connection new-connection-mark=1st_conn
add chain=input in-interface=cnc002 action=mark-connection new-connection-mark=2st_conn
add chain=output connection-mark=1st_conn action=mark-routing new-routing-mark=1st_route
add chain=output connection-mark=2st_conn action=mark-routing new-routing-mark=2st_route
/ip route
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
192.168.1.1 routing-mark=1st_route
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
192.168.1.1 routing-mark=2st_route
/ip firewall nat
add action=masquerade chain=srcnat comment=1 out-interface=cnc001
add action=masquerade chain=srcnat comment=2 out-interface=cnc002
谢谢分享了··········
好东西一定要顶,谢谢楼主分享!
学习学习,谢谢楼主
如果有用的话就好了
支持下学习了
看看。学习