L2TP roadwarrior client - use connection as default gateway

Hi,

i would like to use a VPN connection from my phone and laptop to route all traffic through my Mikrotik router. The connection itself is not the problem, but i don’t have a idea how to configure the routing so that the VPN clients can connect to the internet.

My current configuration:

interfaces

Flags: D - dynamic, X - disabled, R - running, S - slave 
 #     NAME                                TYPE       ACTUAL-MTU L2MTU  MAX-L2MTU MAC-ADDRESS      
 0  R  wan                                 ether            1500                  96:00:00:08:C2:1D
 1     vpn-l2tp-iphone                     l2tp-in   
 2     vpn-l2tp-laptop                     l2tp-in

secrets

Flags: X - disabled 
 #   NAME                 SERVICE CALLER-ID              PASSWORD              PROFILE              REMOTE-ADDRESS             LOCAL-ADDRESS 
 0   vpn-laptop           l2tp                           ******                vpn-encryption       172.30.255.11              172.30.255.10 
 1   vpn-iphone           l2tp                           ******                vpn-encryption       172.30.255.13              172.30.255.12

Thanks for any help!

This is configured on the Client side:

iOS, under VPN setting, tap on “send all traffic.”

On Windows, you would ensure “use default gateway on remote network” is checked.