Skip to main content

All Questions

Tagged with
12 votes
1 answer
4k views

Connect to a VPN (OpenVPN) from a docker service on swarm

I have an OpenVPN server running exposing some private IP addresses, I would like my docker swarm services to access those addresses. Ideally, there wouldn't be an OpenVPN client "inside" the ...
user avatar
8 votes
2 answers
5k views

How make docker to work under Cisco AnyConnect VPN connection?

When I'm initializing VPN connection via Cisco AnyConnect client, I'm loosing connection to docker daemon. My guess (backed by some googling) is that this has something to do with with routing ...
shabunc's user avatar
  • 820
5 votes
2 answers
8k views

Setup VPN in docker

I am working on connecting docker containers together. I have explored the options provided in docker for networking. Now I want to create a VPN kind of setup to connect docker nodes and containers. ...
Manohar Negi's user avatar
4 votes
3 answers
3k views

can't connect to internet after installing docker in Ubuntu over specific networks

After installing docker in Ubuntu 18.04 I couldn't connect to a very specific network! We have a username and password for our university network login, the problem is the I can't log in any more. the ...
FarzinNasiri's user avatar
4 votes
1 answer
6k views

Multihop (nested) WireGuard configuration

I need to configure 2 different wireguard VPN networks on the same client machine and nest them so that when I make a request it passes through VPN_1 then VPN_2 and then reaches the destination ...
parkee's user avatar
  • 43
2 votes
1 answer
4k views

Docker: nginx-proxy through openvpn tunnel

I am trying to use DigitalOcean VPS as a openVPN server to access services (e.g. nextcloud) hosted on my home network through subdomains (e.g. nextcloud.example.com). I have set up the following: [...
Svarto's user avatar
  • 135
2 votes
0 answers
3k views

Correct way to route container's traffic through wireguard without leakage, but UI access for LAN connections

I am currently trying to figure out the correct way to route "all" traffic of specific (rootless) docker containers through Wireguard while on the one hand preventing any leakage (if the ...
BB_'s user avatar
  • 21
2 votes
0 answers
147 views

Change NordVPN tun interface name

I want to run NordVPN in multiple docker containers. When using the host network the NordVPN client creates and uses a tun0 device. However, when running a second container, it is trying to create and ...
5t4cktr4c3's user avatar
2 votes
0 answers
473 views

Missing route from docker interface to vpn

The current pandemic has forced me, like most of you I assume, to work from home. Working from home made me aware of a limitation with my setup. And my lacking networking knowledge is not enough to ...
Pär's user avatar
  • 121
2 votes
0 answers
334 views

IKEv2 client on Alpine?

I'm trying to connect a docker container to a IKEv2 vpn (algo). But googling hasn't helped me in figuring out how to use alpine as a client. How can I set up alpine 3.8 to be a IKEv2 VPN client? ...
cclloyd's user avatar
  • 812
1 vote
1 answer
7k views

How to set Pi-hole as my DNS server on a Wireguard client

I am trying to setup a Wireguard VPN on a remote Debian server and use Pi-hole on that same server. I installed both of them as Docker containers. For Wireguard I have used wg-easy and for Pi-hole I ...
Emperor_Udan's user avatar
1 vote
0 answers
129 views

How do I limit access to a port of a docker container with iptables?

I have a docker host running a container on a bridged network, providing vpn access to a endpoint on multiple ports (one for each system on the remote network). Now i want to limit the access to that ...
bvsta's user avatar
  • 11
1 vote
1 answer
769 views

How to bypass the vpn tunnel for a single docker container using nftables?

I am trying to come up with a solution to bypass the vpn tunnel in the incoming and outgoing docker container. The VPN I'm using is Mullvad VPN and in the split tunneling section they have addressed ...
Farhood ET's user avatar
1 vote
0 answers
183 views

Forward some traffic through docker image?

My VPN runs in a docker container. I recently switched to Mac, which made this problematic, since docker for Mac does not support --network host. I now have to run all my VPN needs in docker ...
user93114's user avatar
1 vote
0 answers
856 views

How to configure docker for windows to correctly route via cisco AnyConnect with split tunnels

I am running Docker Desktop 4.6.1 on Windows 10. I am connected to a vpn via Cisco AnyConnect 4.10.02086. AnyConnect has several secured routes defined, e.g. 10.1.160.0/24 Non-Secured routes is ...
crowne's user avatar
  • 245

15 30 50 per page