Community discussions

MikroTik App
just joined
Topic Author
Posts: 16
Joined: Mon Dec 24, 2018 1:43 pm

1 WAN 1 L2TP for WAN // Splitting Traffic

Sun Jun 14, 2020 7:20 pm

Dear Community,

i have a RB3011 behind a router/modem which is used for internet connection. I managed to setup a l2tp client connection to my vps (abroad) for forwarding traffic.

i have two VLANS that i want to send through normal internet connection (national) for Streaming due to VPN recognition/blocking.
I also have two VLANS which shall be routed trough the tunnel to VPS.

I tried with Mangle / route marking + static Routes with Routing mark.
/ip firewall mangle
action=mark-routing chain=prerouting disabled=yes dst-address-list=!INTRANET 
new-routing-mark=INET passthrough=yes src-address-list=LOCALINET

add action=mark-routing chain=prerouting disabled=yes dst-address-list=!INTRANET 
new-routing-mark=VPN passthrough=yes
ip route
add distance=1 gateway=VPN routing-mark=VPN add distance=1 gateway=VPN 
ip route
add distance=1 gateway=INET routing-mark=INET add distance=1 gateway=INET

Intranet = alle Subnets in Intranet ... and so on.

Now sucess.
Both gateways work, firewall on full forward...for testing.
How to do it easy?

br mikron00b

Who is online

Users browsing this forum: gombic, iokdss and 49 guests