L2TP Client: Debian: Difference between revisions

you can set a custom route, going to `90.155.53.19` *via* what would otherwise
be the `gateway` line; in this case I'd normally set `gateway 10.42.0.1` in
the example below, but instead i set `up /sbin/ip route add 90.155.53.19/32 via 10.42.0.1 dev enp14s0`. This
set `up /sbin/ip route add 90.155.53.19/32 via 10.42.0.1 dev enp14s0`. This
makes all traffic on IPv4 route through the L2TP instead of directly through
the main upstream, in this case virgin media.