Jump to content

Routing docker traffic through a VPN installed on a VM?


Recommended Posts

Hi Friends,

 

I have a subscription to Adguard VPN and they recently created a Linux client to connect to their service.
I would actually prefer to connect to the VPN using a docker container, but I couldn't find a docker VPN client that supports IPsec-IKEv2 on the Unraid community app store, which is a requirement, because that's the only protocol Adguard VPN currently supports.

 

Is there a VPN container on the community app store that supports this VPN protocol?

 

If not, I guess my another solution is for me to install the Adguard VPN client in a Linux VM.

The question is, is it possible to route a docker container's external internet traffic through a VPN connection installed on a VM?

 

Hope someone can help 🙏

Edited by mjeshurun
Link to comment
  • mjeshurun changed the title to Routing docker traffic through a VPN installed on a VM?
  • 4 weeks later...
On 7/31/2024 at 9:54 PM, mjeshurun said:

The question is, is it possible to route a docker container's external internet traffic through a VPN connection installed on a VM?

 

not really full like inside docker <> docker

 

1/ if your docker app supports proxy, you could install a proxy in your vm and use it, sample jdownloader

2/ install docker in the vm and run these docker/s inside the vm, any docker then ... but they are then not hosted on unraid host anymore

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...