All Questions
33
questions
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 ...
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 ...
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. ...
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 ...
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 ...
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:
[...
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 ...
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 ...
2
votes
0
answers
474
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 ...
2
votes
0
answers
336
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?
...
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 ...
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 ...
1
vote
1
answer
789
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 ...
1
vote
0
answers
184
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 ...
1
vote
0
answers
861
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 ...
1
vote
0
answers
346
views
Chaining VPNs by docker
I want to use Lokinet over a primary vpn. The way I know (I'm noob) is using two docker containers one for primary VPN and one for Lokinet. So I created a docker for primary VPN called openvpn (it ...
1
vote
0
answers
582
views
Docker portainer + nginx + vpn
I have a docker install that is running portainer and nginx as a proxy
so subdomain.XXXXX.xyz redirects on port 80 to the port the Container is running in. this part is working correctly but I am ...
1
vote
0
answers
285
views
openvpn server sometimes work on client with terminal, but not with networkmanager
I am trying to get my openvpn server and client working. My server is a cent os 7 mashine and my client is mint sylvia.
I followed this tutorial on youtube with docker(link german)
This are the ...
0
votes
1
answer
4k
views
How access lan when I run wireguard in docker?
I have vps with ubuntu onboard and installed wireguard. Also I have a home network: router + several laptops. I want connect my router to vps and have access from vps to any laptops.
I run wirequard ...
0
votes
1
answer
1k
views
How to completely disable internet access on Linux with the exception of select Docker containers?
I am trying to build a setup akin to a "Qubes OS Lite", but using Docker containers on Arch.
There will be several end-user applications running in Docker (with the help of https://subuser....
0
votes
1
answer
216
views
Route docker network traffic through cisco VPN connection on host
I have a bridge docker network and want the containers to be able to access devices on my company LAN through the CiscoAnyConnect VPN. (i.e. I want to route traffic from docker0 to cscotun0
However, I ...
0
votes
1
answer
186
views
Wireguard queries showing up in PiHole, but no return packets are recieved by the client
I've got a docker bridge network with Wireguard and PiHole containers running within. I've forwarded all necessary ports, and using 192.168.1.208 (My server ip) as my DNS in the router works great on ...
0
votes
0
answers
115
views
High availability Server + NAS - TrueNas + Docker
For some time now I have been toying with the idea of having my own server to be able to deploy my applications, web pages, etc.
My father has presented me with the idea that he wants to have a NAS to ...
0
votes
0
answers
245
views
Redirecting specific IP and Port to a Docker container on Windows: need guidance
Goal is to provide more than one VPN connection from one computer and redirect traffic. I'm currently trying to do this via Docker desktop.
I created a dockerfile.
FROM ubuntu:latest
RUN apt-get ...
0
votes
1
answer
49
views
Docker exposed ports available from host, but not from other machines in iptables restricted container
I have custom container with VPN inside, with following iptables rules inside container:
# Flush all existing rules and chains
iptables -F
iptables -X
# Set default policies to DROP
iptables -P INPUT ...
0
votes
0
answers
941
views
Running Wireguard Client on Docker / WSL
Can I run wireguard on docker / WSL2 and share that wireguard connection to the Windows 10 that I am running it on ? I want the docker container / WSL2 to act as a WIreguard client Application for ...
0
votes
0
answers
176
views
Use VPN that runs in Docker Image with the entire Mac
I have a running VPN on an Ubuntu Image in Docker. I can confirm, that the VPN is running successfully confined in the Docker environment. I would like to use this VPN that is running in Docker now ...
0
votes
0
answers
49
views
Is it possible to configure DNS rules that are only valid inside of a VPN?
I have an internal website and a few microservices that are only accessible on a VPN (which is set up using WireGuard running in docker).
Currently, users access these services by using the private/...
0
votes
0
answers
56
views
Can I have a local network and a VPN connection simultaneously on my Raspberry PI?
I have a Raspberry PI 4 4GB and want to have a LAN-connection and a VPN-connection simultaneously active (because I want to access the same website with different IPs, in order to avoid getting banned ...
0
votes
1
answer
343
views
Docker: host grabs ICMP packets (Strongswan IPsec)
These machines are Docker containers with strongswan installed running IPsec tunnels.
routeur1 and routeur2 have a site-to-site IPsec tunnel, while pc-nomad have a IPsec tunnel with routeur1. ...
0
votes
0
answers
436
views
Port forwarding through VPN using docker
I am new to docker and have set it up for my work VPN but want to know if I have gone about it in a sensible way.
First I created an image that runs openvpn client and connects to work.
Second I ...
0
votes
1
answer
1k
views
Why I cannot connect over https from inside a docker container when using vpn?
i need to use a VPN to connect to some ressources my container needs. Therefore I use the integrated openconnect client in my Ubuntu network manager. When I am connected to the VPN, from inside the ...
0
votes
1
answer
1k
views
Directly accessing eth0 when using Docker while Cisco AnyConnect Secure Mobility Client is providing a VPN tunnel
When VPN is active, all the traffic seems to be tunneled through csctun0.
Using a VirtualBox I am able to set up a "network bridge" to eth0, which seems to completely ignore the manipulations made by ...