-
Notifications
You must be signed in to change notification settings - Fork 2
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
Adapting this project for use with the AirVPN Eddie client #23
Comments
Hi Scott Thanks for reaching out - it's great to know that my development of dorowu's container image can help someone else! I've no direct experience with the AirVPN client, but looking at the installation process it looks fairly easy. I'd probably test this by simply adding the installation lines from the AirVPN web site for Debian (probably to be the best match) and then seeing if it runs in the built container image. Most APT based packages seem easy enough to install in the container image itself and work well. I'm not sure about the autostart of the VPN on container start - though that might be possible with the CLI option - or indeed perhaps the GUI stores persistent autostart settings? As long as it stores them in $HOME, they will persist between container runs if you put the home directory data on an external volume. I can probably give this a go but can't promise exactly when as I have a few busy weeks coming up - however if you want to give editing the code a go and want my support to review or assist I can certainly do that sooner. Look forward to hearing from you! James |
I've been doing some preliminary work on this today, and here's what I know so far: No joy getting your pre-built container to start on either of my Docker host setups (Debian 11 and Windows 11). It deploys OK, but the status in Portainer never changes from "Starting", until it eventually changes to "Unhealthy". I was able grab a snippet of the Docker log while it was booting up:
The dorowu container will start, but I can only get an older version of Eddie to run (2.16.3). Newer versions all give an error regarding not being able to obtain elevated privileges. On the older version, I need to launch Eddie from a Terminal window using sudo. The issue with the newer versions may be something as simple as a directory that doesn't exist. That's it so far. It might be this weekend before I can tinker around a bit more. |
Hmmm - I'll have a look at my container image tomorrow if I get a gap - I'm running it on Ubuntu Server 20.04 - I would have hoped Debian would work but can't comment on Windows - haven't tested anything on Windows as yet. Are you able to share how you're running the container please? Command line or Docker Compose file - as there's a couple of key directives that ensure the container gets off the ground. I'm sure some of my scripting could be improved - it works for me but may not be sufficiently robust to handle all eventualities. |
I'm using Portainer (Docker Compose):
Pretty much the same as how I'm starting the dorowu container:
|
Hey James! I'm considering forking this project to adapt it for use with the AirVPN Eddie client. Just curious how realistic you think that would be?
In case you're not familiar with it:
Eddie is an open source GUI, which was developed for AirVPN (works with other providers too), but uses the standard OpenVPN executable as a backend:
https://airvpn.org/linux/eddie/
I've been using it for years on a dedicated PC, but would like to dockerize the whole setup. The containers I want to connect to the VPN are readily available with Web UIs, but finding a Docker-based OpenVPN client I can manage from a browser has proved elusive.
I'm impressed with the dorowu/ubuntu-desktop-lxde-vnc container, and the OpenVPN work you've done -- and am hoping it would make a good starting point for what I have in mind.
Here's an example of a similar project (which was originally forked from a no longer maintained repo), where I adapted a Docker-based Web UI to manage a host-based OpenVPN TAP server:
https://github.com/bnhf/pivpn-tap-web-ui
Scott
The text was updated successfully, but these errors were encountered: