-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't connect to webgui when vpn is on (AirVPN) #62
Comments
Success! I think it's working. I switched the strict port forward to 'yes' and it seems to be working. Need to double check that the port forwarding is up and running but it looks to be. |
fyi that will of done absolutely nothing, as its completely ignored unless you have set VPN_PROV to pia. |
right, so the VPN was changed (to |
@binhex so, I got confused (information fatigue) and the way I got it working was by turning the vpn off. It's as described above. I get constant
...messages from the log, rather than a stable output, it's changing all the time. No connection to the WebUI, but I can log into the container.
|
This is the block that seems to be running every minute or so:
|
From the logs above this line: I'm on a Synology NAS and I vaguely remember there being some special stuff I had to do for the Transmission VPN container. Will have a dig around there unless anybody has some helpful info. |
I fixed this and if I remove the container, it seems to be working but I don't know why.
... Hey presto, it's up and running. Not totally sure why the container is still working if I run the remove command. I'd assume it would be a clean slate and I'd have to run the TUN.sh script again. Anyway, it's working. Hope this helps anybody with this problem. @binhex is this a known problem for the container do you know? It seems to be related to containers running on Synology NAS systems, can't really see why - maybe it's down to borrowing the tun.ko files? |
this container relies on the tun module being loaded for openvpn to work, if its not present then you wont be able to use this image with openvpn clients, i believe wireguard doesn't have this reliance, but does rely on your kernel being ver 5.6.x or later. |
You're talking about the tun module being loaded into the NAS? That'll be why it works with the container removed. So the instructions here, told me how to get tun.ko running:
There's instructions how to get it persistent at that link too:
|
Syno kernel says: |
I'll close this, but it would be nice if there was a workaround. Might be worth having a look at the @haugene Transmission OpenVPN container, I think this has been fixed in a recent release and just has a environment variable now to make this work on a Syno. |
Folks, having some issues connecting to the WebGUI. It works when VPN is switched off, so must be something to do with my configuration. Here's my Docker compose file:
I've got the webui on 8087 as it's conflicting with another container. I've tried several different options re the AirVPN config files, downloaded the single file as well as the individual files, none of them seem to work.
Looking through the logs, these may be problematic lines:
Looking at the above - I tried to add the /dev/net/tun lines to the docker-compose file but kept getting the no such device error and the container wouldn't even start.
As it is, it does look like something is happening (see below), but there's some fatal crash in there. I can log into the container so it's not a restarting container at least...
The text was updated successfully, but these errors were encountered: