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
add
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
src-address-list=VPNINET
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 192.168.1.0/24 …192.168.30.0/24… and so on.
Now sucess.
Both gateways work, firewall on full forward…for testing.
How to do it easy?
br mikron00b