Skip to content

VPN is only able to connect when run using a root podman container #2342

Discussion options

You must be logged in to vote

I do not have any other containers running, but I do have WireGuard running on the host machine. Using the privileged flag did not work for me, I think my issue is related to Podman's use of Pasta as the default network tool instead of Slirp4netns. My old container would have still used Slirp4netns while Gluetun would use Pasta as my nordlynx container was created using podman 4.

Using the following configuration allows Gluetun to connect with the existing compose file:

[network]
default_rootless_network_cmd = "slirp4netns"

I have also gotten Pasta to work with these settings:

[network]
pasta_options = ["-i", "enp3s0", "-a", "10.0.2.0", "-n", "24", "-g", "10.0.2.2", "--dns-forward", "192…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@DaniilKoterov
Comment options

Answer selected by qdm12
@qdm12
Comment options

qdm12 Aug 7, 2024
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants