Jump to content
Not connected, Your IP: 3.234.208.66

Search the Community

Showing results for tags 'docker'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • AirVPN
    • News and Announcement
    • How-To
    • Frequently asked questions
    • Databases
  • Community
    • General & Suggestions
    • Troubleshooting and Problems
    • Blocked websites warning
    • Eddie - AirVPN Client
    • Reviews
    • Other VPN competitors or features
    • Nonprofit
    • Off-Topic
  • Other Projects
    • IP Leak
    • XMPP
    • Mirrors

Product Groups

  • AirVPN Access
  • Coupons
  • Misc

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Mastodon


AIM


MSN


ICQ


Yahoo


XMPP / Jabber


Skype


Location


Interests

Found 5 results

  1. Hi, Ubuntu 17.10 AirVPN 2.13.6, running through Eddie When I try to start my app in Docker using "docker-compose up", I get an error: ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network If I disable network lock and stop Eddie, Docker will start up just fine. After Googling I found a possible explanation and solution in https://stackoverflow.com/questions/45692255/how-make-openvpn-work-with-docker. With my minimal VPN and network knowledge I'm unable to judge if this is a valid and safe solution. Can anyone knowledgeable comment on this solution?
  2. My setup is as follows. I have a docker setup where i run my vpn server in one container and my transmission application in another container. My transmission container uses the vpn container as a gateway which works quite nice. My only problem is that i'm unable to forward my peer listening port from my airvpn connection to the transmission container. I have added the port forwarding at airvpn.org but dont know how to forward it to my transmission container. I guess I have to add some iptables rules to my vpn gateway, which uses openvpn+iptables to connect airvpn servers. Does anyone have an idea of how to configure iptables to handle port forwarding?
  3. Edit: Because this post continues to bring people to my github page, I'd like to make things a bit easier. I have pushed my images to Dockerhub, so you no longer need to build these images yourself. Unfortunately there are still a few manual steps. Here's a step-by-step to get this running: 1) You still need to install Docker and docker-compose as described below. 2) You need to grab two files from my repository. https://github.com/rahmnathan/docker/blob/master/deluge/docker-compose.yml and https://github.com/rahmnathan/docker/blob/master/deluge/airvpn/resolv.conf 3) In the docker-compose file that you grabbed, you need to set the USERNAME and PASSWORD environment variables to your AirVPN credentials. 4) In the docker-compose file that you grabbed, you need to update the 'volumes' section to point to the resolv.conf file that you grabbed. This file configures Air to use AirVpn's DNS servers. Normally this is automatic with eddie, but there are some issues in Docker that currently prevent this, so it needs to be mapped as a volume. 5) Run 'docker-compose up -d' in the directory of the docker-compose.yml file. More often than not, the airvpn container stops at 'Ready' before AirVPN connects. I haven't resolved this yet, but if you toggle 'docker-compose down'/'docker-compose up -d' a few times, it eventually goes through. If anyone knows why this is happening, please let me know or submit a pull request against my repo and I'd be happy to merge it. To expand on that, if anyone has any suggestions, I'd be happy to implement them or accept PRs. --------------------- After several days of grind, I was finally able to get my vpn/deluge Docker swarm working properly. The goal of this was to create an isolated/portable environment to use my vpn so I could run it without changing the external IP of everything else running on the host system. Fair warning, I'm terrible at how-to's... The first thing you'll want to do is install Docker and Docker Compose. I like DigitalOcean's guides for this.. Docker -> https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04 Docker Compose -> https://www.digitalocean.com/community/tutorials/how-to-install-docker-compose-on-ubuntu-16-04 Now you can follow the instructions located here -> https://github.com/rahmnathan/docker . Brief Explanation: vpn - This image downloads, configures, and runs Air's Eddie client. deluge - This image downloads, configures, and runs the Deluge deamon. This image will use the network of the 'vpn' container, which is completely locked down outside of the docker swarm unless it's through the vpn. That brings us to... nginx - This image downloads, configures, and runs nginx. Because our swarm's network is isolated from the host's we need to utilize nginx as a reverse proxy to get into it. This is simply a gateway for us to access the Deluge daemon. Hopefully that's enough information for anyone interested to get started. The cool thing about this is you can force any container through the vpn while leaving the host machine/other containers running outside of the vpn. This gives us a very scalable, portable, isolated way to use the awesome service provided by Air. Feel free to ask questions and suggest edits. Thanks
  4. I'm trying to create a docker image that connects to a VPN on launch with Eddie. It appears the error I'm getting is related to a driver that's needed at some point, but I can't find any details. I'm using the standard portable eddie version (though I also tried mono and ended up with the same result). The relevant logs are as follows... . 2017.04.02 22:27:45 - Operating System: Unix 4.4.0.71 - Linux b55511669e6e 4.4.0-71-generic #92-Ubuntu SMP Fri Mar 24 12:59:01 UTC 2017 x86_64 x86_64 x86_64 GNU/LinuxE 2017.04.02 22:27:46 - OpenVPN Driver - Not available - Will be installed at next connection.I 2017.04.02 22:27:46 - OpenVPN - Version: 2.4.0 - OpenSSL 1.0.2k 26 Jan 2017, LZO 2.09 (/vpn/openvpn)I 2017.04.02 22:27:46 - SSH - Version: OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016 (/usr/bin/ssh)I 2017.04.02 22:27:46 - SSL - Version: stunnel 5.40 (/vpn/stunnel)I 2017.04.02 22:27:46 - curl - Version: 7.47.0 (/usr/bin/curl)I 2017.04.02 22:27:46 - Certification Authorities: /vpn/cacert.pem! 2017.04.02 22:27:46 - Activation of Network Lock - Linux IPTablesI 2017.04.02 22:28:30 - Checking login .... 2017.04.02 22:28:30 - Updating systems & servers data .... 2017.04.02 22:28:32 - Systems & servers data update completed! 2017.04.02 22:28:32 - Logged in.I 2017.04.02 22:28:32 - Session starting.. 2017.04.02 22:28:32 - Unable to understand if IPv6 is active.F 2017.04.02 22:28:32 - Driver can't be installed.nI 2017.04.02 22:28:32 - Server switch requested from keyboard.I 2017.04.02 22:28:32 - Session starting.. 2017.04.02 22:28:32 - Unable to understand if IPv6 is active.F 2017.04.02 22:28:32 - Driver can't be installed. I'm sure I could get this working without Eddie, but I'd rather use the built in network-lock than have to configure something myself. If anyone has any ideas what is going on here, please let me know. Thanks
  5. Hi VPN Experts, I've been reading many hours but I'm still completely lost as to how to achieve what I want. My goal is to set up one or more Docker Containers and run all the applications that should go through the VPN from within said containers so that all the other traffic is uneffected by the VPN. That means that Eddi or OpenVPN, a torrent client etc. must go into a container. Please bear in mind that I'm a complete beginner/noob, but it is my understanding that this solution is a viable, resource light alternative to a VM or an even more complicated(?) Iptables-based split tunneling solution. A more costly way would be to buy a Raspberry Pi and set it up as a proxy server with AirVPN running on it, right? Anyway, I've installed the openvpn package and Docker on Arch Linux but I don't know how to proceed from here. Any help is greatly appreciated. Cheers
×
×
  • Create New...