1

Is it possible to disable default gateway in wireguard vpn client? I used "allowed IP" to my own subnet, but still whenever i try to connect to vpn server, the client sets default gateway to the wireguard server IP.

any other way to disable default gateway in wireguard?

1

Instead of specifying AllowedIPs = 0.0.0.0/0 specify an ip address.

Ran into this question wondering the same thing. The use case detailed here pointed me in the right direction: https://emanuelduss.ch/2018/09/wireguard-vpn-road-warrior-setup/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.