Why is my VPN working in my browser but not my terminal?

I have to VPN via l2tp to my work in order to work on some Jenkins machine. It’s fine on my Android device, but when I do it on my Manjaro box, while my IP address comes up as my company’s, I can’t access any of my build servers and I can ping devices on my actual, physical LAN. I’ve tried in both Konsole and UXTerm and I get the same results on both.

What should I try?

Check if you are blocked via a firewall rule.

I’d reckon DNS issues or maybe a router issue. When you say Android device do you mean a phone using cellular data? Or is the device on the same network as your machine?

use `mtr` to see if your traffic is actually being routed through the VPN.

Check your routing table to see if there are any other rules messing up your config

Firewall isn’t up, but good idea.

Phone using either cellular data or connected to the same network as my machine. In both cases the VPN works as expected.

Hmmm two things to try in that case. Maybe your config is not routing all your traffic through the vpn. Can’t remember the actual setting, but its something like “passthrough traffic”. Also if you’re accesing the hosts via hostname, maybe you need to use the internal DNS and you’re using a custom provider at the config level.