-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Need a script that sets up TUN/TAP dev if it isn't present. (ie; Synology) #43
Comments
@stevepet it works for me on Synology, do you have the VPN Server package installed? |
No, I do not use the VPN Server. I understand it will mask the issue. I was hoping for a solution and not a work around. |
I just meant have the package installed, even if not in use. I didn't have an issue running on a Synology and thought that might be one possible difference. On Mon, Jan 4, 2016 at 10:09 PM -0800, "stevepet" [email protected] wrote: No, I do not use the VPN Server. I understand it will mask the issue. I was hoping for a solution and not a work around. — |
Might have stumbled across a solution for this one. Been inactive for a while, but will hopefully have some time to do some hacking in the week to come :) |
I have the same problem and i'm working on it by default the error message was :
I updated the /openvpn/start.sh script with :
and now i have this error :
it's maybe the right way to solve this ... remarks : my synology has 2 ethernet ports; need i to configure a "dev tun1" instead of "dev tun0" in ovpn files ? |
Also installed VPN server on DSM5, but still get the TUN/TAP error. Any other ideas how I can circumvent this issue? |
See issue #41. The script listed there seems to work around the issue. |
And with that I'm closing this one. Synology-related discussions goes in the other issue. |
I am playing with another Docker image similar to this one and it worked on my Synology, I believe due to creating the container with the following:
(and the fact that it does the |
Hmm, I don't use a Synology myself so I can't test it. But you're saying that if the container is run with --device=/dev/net/tun there won't be a need to use the TUN.sh script described in the readme? Right now we're running in privileged mode, so I would think that we had access to the device from before? |
Honestly, I don't know. I thought that was the magic step, but now several days later my synology is giving me:
I must have somehow had a |
Kristian,
Thanks for building this container and for looking into a resolution to this Synology problem.
I have included your comments from Docker Hub to refresh your memory on this topic.
"On a host system the TUN/TAP device will probably be created/verified on installing the OpenVPN client. As we're here starting a container where it is already installed it will expect the TUN/TAP device to be present. I could try to create a script that sets up the device if it isn't present. But on my machine I already have it so I would have to do some virtualization and stuff. "
The text was updated successfully, but these errors were encountered: