Comments (13)
I just had this issue and I fixed it by removing the IPv6 address in my wireguard config file
from docker-passthroughvpn.
I resolved this for my setup by ensuring that in the MVD generator I was using IPv4 only and that the killswitch was NOT checked.
from docker-passthroughvpn.
I am unable to start the container. After the Permission Error it just restarts.
from docker-passthroughvpn.
Same issue as the user above:
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.69.183.235/32 dev wg0
[#] ip -6 address add fc00:bbbb:bbbb:bb01::6:b7ea/128 dev wg0
RTNETLINK answers: Permission denied
[#] ip link delete dev wg0
2021-03-28 03:55:23.512295 [INFO] VPN_ENABLED defined as 'yes'
2021-03-28 03:55:23.558108 [INFO] VPN_TYPE defined as 'wireguard'
2021-03-28 03:55:23.609763 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
2021-03-28 03:55:23.656457 [INFO] VPN remote line defined as '198.xxxxx:51820'
2021-03-28 03:55:23.695353 [INFO] VPN_REMOTE defined as '198.xxxxx'
2021-03-28 03:55:23.737439 [INFO] VPN_PORT defined as '51820'
2021-03-28 03:55:23.773759 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
2021-03-28 03:55:23.811952 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
2021-03-28 03:55:23.864672 [INFO] LAN_NETWORK defined as '192.168.2.99/24'
2021-03-28 03:55:23.911732 [INFO] NAME_SERVERS defined as '1.1.1.1,1.0.0.1'
2021-03-28 03:55:23.955980 [INFO] Adding 1.1.1.1 to resolv.conf
2021-03-28 03:55:23.996597 [INFO] Adding 1.0.0.1 to resolv.conf
2021-03-28 03:55:24.031224 [INFO] Starting WireGuard...
Warning: `/config/wireguard/wg0.conf' is world accessible
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.69.183.235/32 dev wg0
[#] ip -6 address add xxxxxxxxx:6:b7ea/128 dev wg0
RTNETLINK answers: Permission denied
[#] ip link delete dev wg0
@xLogiiCx Wishful thinking, but did you ever figure out the issue?
from docker-passthroughvpn.
@PuppyLover101 nope, sorry i only figured out it could be a issue with IPv6
from docker-passthroughvpn.
Did you run the container privileged?
from docker-passthroughvpn.
@PuppyLover101 nope, sorry i only figured out it could be a issue with IPv6
Has --sysctl net.ipv6.conf.all.disable_ipv6=1 worked for you? Doesn't work for me (unRAID)
Did you run the container privileged?
Yes, it's privileged (unRAID)
from docker-passthroughvpn.
Has --sysctl net.ipv6.conf.all.disable_ipv6=1 worked for you? Doesn't work for me (unRAID)
No does not work for me sadly.
Did you run the container privileged?
Yes, i tried both.
@PuppyLover101 are you using a kill switch in your wireguard config file?
from docker-passthroughvpn.
Btw. this is the command which i / unraid uses to start the container maybe that helps:
root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='passthroughvpn' --net='bridge' --privileged=true -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e 'VPN_ENABLED'='yes' -e 'VPN_TYPE'='wireguard' -e 'VPN_USERNAME'='' -e 'VPN_PASSWORD'='' -e 'LAN_NETWORK'='192.168.178.0/24' -e 'ADDITIONAL_PORTS'='' -e 'RESTART_CONTAINER'='no' -e 'PUID'='99' -e 'PGID'='100' -e 'NAME_SERVERS'='1.1.1.1,1.0.0.1' -e 'UMASK'='002' -e 'HEALTH_CHECK_HOST'='one.one.one.one' -e 'HEALTH_CHECK_INTERVAL'='300' -e 'HEALTH_CHECK_SILENT'='1' -v '/mnt/user/appdata/passthroughvpn':'/config':'rw' --sysctl net.ipv6.conf.all.disable_ipv6=1 --restart unless-stopped 'dyonr/passthroughvpn'
from docker-passthroughvpn.
Any Update?
from docker-passthroughvpn.
@xLogiiCx What version of Unraid are you using?
Looking at the docker run
command you posted, I really can not see anything wrong.
Mine is pretty much identical, but the exposed ports.
from docker-passthroughvpn.
@ep1cman For me there is no IPv6 Address in my config file.
from docker-passthroughvpn.
@DyonR I am using 6.9.2
from docker-passthroughvpn.
Related Issues (9)
- Move the instructions to Wiki
- container works fine but uses my host IP
- use as a router for lan devices?
- When VPN is connected i cannot reache the server from diffrent vlan HOT 2
- Issue with (Network is possibly down)
- No GUI after setup
- Port, connection refused
- Error starting the container with wireguard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-passthroughvpn.