Jump to content

How to connect my VPS to VPN ?


moonwalker
 Share

Recommended Posts

Hello!

I have Debian VPS. I want to connect to mullvad VPN from my VPS using openvpn. How i can properly do it ?
If i just start openvpn client, i get disconnected from my VPS. Thats because my VPS is now in mullvad network.
How can i make my VPS work with mullvad vpn and i still be able to connect to VPS with SSH ?

Any tips or links be very helpfull. Thanks

Link to comment
Share on other sites

All I can say is that in general you need to make sure your VPS uses a different address range than the regular network and you need to change the routing table such that after the VPN is up only traffic intended for the VPN address range goes through the VPN whereas the rest goes via the normal paths.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...