Closed Gurnox closed 1 year ago
On what Unraid version are you?
Please post your docker run
command.
Version 6.11.5
Docker run command is:
docker run
-d
--name='OpenVPN-GB'
--net='bridge'
-e TZ="Europe/London"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="[redacted]"
-e HOST_CONTAINERNAME="OpenVPN-GB"
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.icon='https://raw.githubusercontent.com/ich777/docker-templates/master/ich777/images/openvpn-client.png'
-p '6881:6881/tcp'
-p '6881:6881/udp'
-p '8080:8080/tcp'
-v '/mnt/cache/appdata/openvpn-client':'/vpn':'rw'
--device='/dev/net/tun'
--cap-add=NET_ADMIN
--dns=[redacted]
--sysctl net.ipv6.conf.all.disable_ipv6=0 'ich777/openvpn-client'
I have a user with a similar issue, you can always revert back to the last version by changing the repository in the template to:
ich777/openvpn-client:28
My suspicion is that it has something to do with 6.11.5
, on 6.12.0-rc
series I have no issues running the container, I've now also tried pings from different containers/machines on my network and it is working just fine.
Back in business now. I'll stick at that version for now and upgrade again when there's a stable release of 6.12
Thanks for your help!
@Gurnox you can go back to: ich777/openvpn-client
I have now tagged build 28
as latest again, sorry for the inconvenience.
Not a problem at all. Thanks again!
Hello!
Just updated to the latest version and can no longer connect from the container to/from my local network. I'm using the container as a VPN gateway for another application.
So:
curl localhost:[portno] from the container console and curl [container_ip]:[container_port] from the Unraid server work fine whereas:
curl [unraid_server_ip]:[port] from a machine on my local network does not.
Can't ping the local network from the container console either. Container and app using it are connecting to the Internet/VPN just fine.
Extra parameters are default other than adding a local DNS server.
This log entry doesn't seem familiar, but may be a red-herring or me mis-remembering:
2023-06-13 09:41:15 WARNING: You have specified redirect-gateway and redirect-private at the same time (or the same option multiple times). This is not well supported and may lead to unexpected results
Thanks!