Jump to content
Not connected, Your IP: 18.117.145.41
rhodesfreak

OMV + Transmission-OpenVPN + AirVPN

Recommended Posts

Dear All.

Is someone in this forum using this combination?

I'm having hard time trying to figure out how to make it work, as AirVPN is not in the VPN list from this docker plugin and it's required to make a custom setup.

Any idea?

Thanks!

Share this post


Link to post

I'm using OMV. I saw the Transmission extension, but Transmission-OpenVPN? Which OMV version are you on?


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Well, the readme explains it quite well, to be honest. What's the matter exactly?


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post
Posted ... (edited)

Hello everyone, 

I had the same problem as you but at the end I ended up using qBitorrent-VPN from Markus McNugen.
As I am on a Raspberry Pi, I used a fork (someone was really kind to make one!) but the normal repo should work also with the information provided on the GitHub page linked above if you're on another architecture. 

Here are the steps :

So I created this folder :
.../config/qBitorrentvpn/

& then the folder openvpn inside :
.../config/qBitorrentvpn/openvpn/

I dropped in this folder (.../openvpn/) the following files got from AirVPN in the config generator :

The .ovpn, ca.crt, ta.key, user.crt, user.key.

To get these files from AirVPN, here are the steps and the options that must be chosen :

Go to Config Generator
Advanced Mode: Checked
API Reference: Unchecked
Select "Linux"
IP Layer: IPv4 only
Connect with IP layer: IPv4
Protocols: UDP/443
Bundle executables: No
OpenVPN version: >=2.4
Separatekeys/certs from .ovpn file: Checked
Proxy: None
Choose servers: for example "Switzerland"
Then, Generate.
On the download page, download the zip file.
Drop all the files included in the zip file (.crt, .key, .ovpn, ...) into your .../qBitorrent/openvpn/ folder

Open the .ovpn file with notepad (or other software) and add this line at the end :

auth-user-pass


Still in the same folder (.../qBitorrent/openvpn/) create a text file (.txt if you're on Windows) that you will call auth-user-pass credentials.conf which will contain the following lines :
 
username
password

Replace of course the username by your AirVPN username and the password by your AirVPN password.

If you're on Windows (might be different on MacOS/Linux distro), delete the .txt at the end of the file so it is a .conf

Now you can run the docker run command and it should be working. (for some reasons I did not succeed to run a docker-compose.yml via Portainer)

 
docker run --privileged -d \
        -v /srv/dev-disk-by-label-mediadisk/databases/downloads/:/downloads \
        -v /srv/dev-disk-by-label-mediadisk/config/qbitorrentvpn/:/config  \
        -e "VPN_ENABLED=yes"  \
        -e "LAN_NETWORK=192.168.1.0/24"  \
        -e "NAME_SERVERS=9.9.9.9,149.112.112.112"  \
        -e "VPN_USERNAME=XXXXX"  \
        -e "VPN_PASSWORD=XXXXX"  \
        -e "PUID=XXX"  \
        -e "PGID=XXX"  \
        -p 8080:8080  \
        -p 8999:8999  \
        -p 8999:8999/udp  \
        --sysctl net.ipv6.conf.all.disable_ipv6=0  \
        --name qbittorrent-openvpn  \
        chrisjohnson00/qbittorrent-openvpn:latest 


Replace the XXX by the corresponding inputs from your raspberry and AirVPN login.

Hope this will help people ! Edited ... by ptitdo
grammar

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...