L2TP VPN Split tunnel configuration

pista
pista Posts: 22  Freshman Member
First Anniversary Friend Collector First Comment
edited April 2021 in Security
Hi there! 

I am curious about L2TP VPN and possibility to connect to it via 'Split tunnel'?

Why am I asking? I am only able to run L2TP VPN connection from Mac and Linux instances with 'Send all traffic over VPN connection' option checked.

But I don't want to use full tunnel for this kind of VPN.

Is is possible? Is there some certain settings what I have to change? Can somebody provide some manual?

Thanks to all! 

All Replies

  • Ian31
    Ian31 Posts: 165  Master Member
    First Anniversary 10 Comments Friend Collector First Answer
    Not just un-check the 'Send all traffic over VPN connection' .
    You need manual add route to the tunnel interface,
    1. Check the interface name of vpn by command 'ifconfig'
    2. Add route,
    route add -net <destination subnet> -netmask <subnet mask> -interface pppx
    3. Verify the routing table
    netstat -r

  • pista
    pista Posts: 22  Freshman Member
    First Anniversary Friend Collector First Comment
    @Ian31 I found this solution too, I considered it, but I was looking for solution, what would be pretty easy for basic users to perform automatically.

    Anyway thanks a lot! 

Security Highlight