How do I route VPN clients to VPN server

I’m running a UDM Pro set up to run as a VPN server on the 10.1.0.1/24 subnet. I also have the UDM set up to connect to Mullvad VPN. I tried setting up a route for all IPs on that subnet to be routed to the Mullvad interface but it still shows my Verizon IP when I check it while logged in to my VPN server from a remote device.

Hello! Thanks for posting on r/Ubiquiti!

This subreddit is here to provide unofficial technical support to people who use or want to dive into the world of Ubiquiti products. If you haven’t already been descriptive in your post, please take the time to edit it and add as many useful details as you can.

Please read and understand the rules in the sidebar, as posts and comments that violate them will be removed. Please put all off topic posts in the weekly off topic thread that is stickied to the top of the subreddit.

If you see people spreading misinformation, trying to mislead others, or other inappropriate behavior, please report it!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

did you end up figuring this out? I’m trying to do the same thing, but no matter what traffic rules I’ve tried, clients connected to the VPN server aren’t routing through the (external) vpn interface.

Same exact issue. Cannot figure out how to get my Unifi VPN Server Clients to route through the Unifi VPN Client using Mullvad.

This should do the trick for you.

https://help.ui.com/hc/en-us/articles/12648654915863-UniFi-Gateway-VPN-Client

I personally have a separate network for routed vpn traffic. So I created a route traffic of the whole network, but you can do via ip and devices as well.

If your device is a linux based, your can run this is terminal to check the public ip:

wget http://ipecho.net/plain -O - -q ; echo

Or if you are torrenting check this one out, they got a section to create a link that checks your ip when you download something.

This isn’t exactly what I’m looking for. The route is already set up, however, the only thing going through to my Mullvad VPN from devices connected to my VPN server are DNS requests. All other traffic still goes through my primary WAN.

That sounds weird. The routing should send all traffic through the VPN.