|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
/ ip firewall mangle
add chain=prerouting in-interface=Lan protocol=tcp dst-port=80 \
connection-mark=4 action=mark-routing new-routing-mark=4 passthrough=no \
comment="" disabled=no
add chain=prerouting in-interface=Lan protocol=tcp dst-port=443 \
connection-mark=4 action=mark-routing new-routing-mark=4 passthrough=no \
comment="" disabled=no
add chain=prerouting in-interface=Lan protocol=udp dst-port=8000 \
connection-mark=4 action=mark-routing new-routing-mark=4 passthrough=no \
comment="" disabled=no add chain=prerouting in-interface=Lan connection-state=new nth=3,4,0 \
action=mark-connection new-connection-mark=1 passthrough=yes comment="" \
disabled=no
add chain=prerouting in-interface=Lan connection-mark=1 action=mark-routing \
new-routing-mark=1 passthrough=no comment="" disabled=no
add chain=prerouting in-interface=Lan connection-state=new nth=3,4,1 \
action=mark-connection new-connection-mark=2 passthrough=yes comment="" \
disabled=no
add chain=prerouting in-interface=Lan connection-mark=2 action=mark-routing \
new-routing-mark=2 passthrough=no comment="" disabled=no
add chain=prerouting in-interface=Lan connection-state=new nth=3,4,2 \
action=mark-connection new-connection-mark=3 passthrough=yes comment="" \
disabled=no
add chain=prerouting in-interface=Lan connection-mark=3 action=mark-routing \
new-routing-mark=3 passthrough=no comment="" disabled=no
add chain=prerouting in-interface=Lan connection-state=new nth=3,4,3 \
action=mark-connection new-connection-mark=4 passthrough=yes comment="" \
disabled=no
add chain=prerouting in-interface=Lan connection-mark=4 action=mark-routing \
new-routing-mark=4 passthrough=no comment="" disabled=no |
|