/ ip firewall mangle
add chain=prerouting src-address=192.168.9.0/24 action=mark-routing new-routing-mark=to-isp-01 passthrough=no disabled=yes comment="LAN 1 ke speedy 1"
add chain=prerouting src-address=192.168.2.0/24 action=mark-routing new-routing-mark=to-isp-02 passthrough=no disabled=yes comment="wifi1 ke speedy 2"
add chain=prerouting src-address=10.5.50.0/24 action=mark-routing new-routing-mark=to-isp-02 passthrough=no disabled=yes comment="wifi1 ke speedy 2"
add chain=forward src-address=192.168.9.0/24 routing-mark=to-isp-01 action=mark-connection new-connection-mark=users-con-lan-01 passthrough=yes disabled=yes
add chain=forward connection-mark=users-con-lan-01 action=mark-packet new-packet-mark=users-lan-01 passthrough=yes disabled=yes
add chain=forward src-address=192.168.2.0/24 routing-mark=to-isp-02 action=mark-connection new-connection-mark=users-con-lan-02 passthrough=yes disabled=yes
add chain=forward connection-mark=users-con-lan-02 action=mark-packet new-packet-mark=users-lan-02 passthrough=yes disabled=yes
add chain=forward src-address=10.5.50.0/24 routing-mark=to-isp-02 action=mark-connection new-connection-mark=users-con-lan-02 passthrough=yes disabled=yes
add chain=forward connection-mark=users-con-lan-02 action=mark-packet new-packet-mark=users-lan-02 passthrough=yes disabled=yes
/ip firewall nat
add chain=srcnat src-address=192.168.9.0/24 action=masquerade disabled=yes comment="masquerade lan"
add chain=srcnat src-address=192.168.2.0/24 action=masquerade disabled=yes comment="masquerade hotspot"
add chain=srcnat src-address=10.5.50.0/24 action=masquerade disabled=yes comment="masquerade hotspot2"
1 komentar:
nice post gan universitas djuanda
Posting Komentar