Revision history for OpenVPNDocker
No Differences
Additions:
//Do this section before port forwarding, as there is a default web interface password. //
Deletions:
No Differences
Additions:
//Probably set up the security before port forwarding. //
Go to https://ipaddressofserver:943/admin
Go to https://ipaddressofserver:943/admin
Deletions:
No Differences
Additions:
openVPN Access Server FAQ: https://openvpn.net/vpn-server-resources/frequently-asked-questions-licensing/
Deletions:
https://openvpn.net/vpn-server-resources/frequently-asked-questions-licensing/
No Differences
Additions:
//IF you are keen for a simple, free-as-in-beer, 2 connection openVPN setup, then proceed...//
Deletions:
No Differences
Additions:
NOTE: There is only x86-64 architecture build for this currently.
NOTE: this the web setup is non-free and allows two simultaneous vpn connections (unless paid).
NOTE: this the web setup is non-free and allows two simultaneous vpn connections (unless paid).
Deletions:
No Differences
No Differences
No Differences
Additions:
There is an openVPN app for windows that I am successfully using, pretty sure you'd need admin rights, but not sure. https://openvpn.net/client-connect-vpn-for-windows/
Deletions:
No Differences
Additions:
======openVPNSetup with Docker======
Deletions:
No Differences
Additions:
https://gist.github.com/renatolfc/f6c9e2a5bd6503005676
No Differences
Additions:
You can also create your own open vpn client config file (.ovpn) with the certificates in it, here are samples:
https://github.com/OpenVPN/openvpn/blob/master/sample/sample-windows/sample.ovpn
https://github.com/OpenVPN/openvpn/blob/master/sample/sample-windows/sample.ovpn
Deletions:
No Differences
Additions:
You can also create your own open vpn client config file (.ovpn) with the certificates in it, here is a sample:
https://gist.github.com/seuros/9671811
https://gist.github.com/seuros/9671811
No Differences
Additions:
openVPN protocol itself is fully free however, so this web based setup doesn't need to be used.
**openVPN Access Server FAQ:**
**openVPN Access Server FAQ:**
Deletions:
**OpenVPN Access Server FAQ:**
No Differences
Additions:
Note that licencing is US$15 per license per year... minimum 10 licenses!
https://openvpn.net/pricing/
//IF you are keen for a simple, free-as-in-beer, 2 connection OpenVPN setup, then proceed...//
https://openvpn.net/pricing/
//IF you are keen for a simple, free-as-in-beer, 2 connection OpenVPN setup, then proceed...//
No Differences
Additions:
Some Android Connect FAQs including errors https://openvpn.net/vpn-server-resources/connecting-to-access-server-with-android/
Deletions:
No Differences
Additions:
Note this the web setup is non-free and allows two simultaneous vpn connections (unless paid).
OpenVPN protocol itself is fully free however, so this web based setup doesn't need to be used.
OpenVPN protocol itself is fully free however, so this web based setup doesn't need to be used.
Deletions:
OpenVPN itself is free however.
No Differences
Additions:
Note this the web setup is non-free and allows two clients only (unless paid).
OpenVPN itself is free however.
**OpenVPN Access Server FAQ:**
https://openvpn.net/vpn-server-resources/frequently-asked-questions-licensing/
Some Android COnnect FAQs https://openvpn.net/vpn-server-resources/connecting-to-access-server-with-android/
OpenVPN itself is free however.
**OpenVPN Access Server FAQ:**
https://openvpn.net/vpn-server-resources/frequently-asked-questions-licensing/
Some Android COnnect FAQs https://openvpn.net/vpn-server-resources/connecting-to-access-server-with-android/
Deletions:
No Differences
Additions:
CategoryDocker
Deletions:
CategoryRaspberryPi
No Differences
Additions:
Note this is the 'Official' one, but it is non-free(dom) from OpenVPN Inc.
======Alternatives======
This is another option for connecting on android is this one (and it is fully open source)
https://play.google.com/store/apps/details?id=de.blinkt.openvpn
Don't know much about this one sorry.
======Alternatives======
This is another option for connecting on android is this one (and it is fully open source)
https://play.google.com/store/apps/details?id=de.blinkt.openvpn
Don't know much about this one sorry.
No Differences
Additions:
||https://122.50.5.11:943||
||
||
||
||
Deletions:
No Differences
Additions:
||https://122.50.5.11:943%%||
Deletions:
No Differences
Additions:
||**Forward**
943:TCP||
943:TCP||
Deletions:
943:TCP
No Differences
Additions:
Unforward port 943 - you will need to allow access again if you set up other clients or another user.
No Differences
Additions:
**Setting Android VPN start/stop shortcuts in launcher**
Deletions:
No Differences
Additions:
**Access Server Hostname (locked): **
**Turn off port forwarding in your router for the web interface if you want to.**
======Setting Android VPN start/stop shortcuts in launcher======
You can also create a disconnect homescreen shortcut, it is in the app setting menu "Set Disconnect Shortcut" (Not in the profile settings). Note that clicking on these shortcuts in my android launcher sometimes looks like they haven't don't anything (especially if you same the VPN password), although it seems just to work nice and quickly. Check the top android notification bar to see if there is a VPN 'Key' icon when the VPN is operating. You can also check your IP address to see where you are connected obviously.
======Other Clients======
**Turn off port forwarding in your router for the web interface if you want to.**
======Setting Android VPN start/stop shortcuts in launcher======
You can also create a disconnect homescreen shortcut, it is in the app setting menu "Set Disconnect Shortcut" (Not in the profile settings). Note that clicking on these shortcuts in my android launcher sometimes looks like they haven't don't anything (especially if you same the VPN password), although it seems just to work nice and quickly. Check the top android notification bar to see if there is a VPN 'Key' icon when the VPN is operating. You can also check your IP address to see where you are connected obviously.
======Other Clients======
Deletions:
======Other======
Turn off port forwarding for the web interface if you want to.
You can also create a disconnect homescreen shortcut,
No Differences
Additions:
You need to edit the profile details (pencil button) and the settings should be something like:
**Server Override (optional)**
https://122.50.5.11
Note: //I HAD to put the server override value in there, not sure why (it was initially blank). I couldn't connect without it.//
You can create a homescreen shortcut for android for your connection. Edit the Profile (Pencil Botton) and there is a buttom down the bottom with green writing "Set Connect Shortcut".
You can also create a disconnect homescreen shortcut,
**Server Override (optional)**
https://122.50.5.11
Note: //I HAD to put the server override value in there, not sure why (it was initially blank). I couldn't connect without it.//
You can create a homescreen shortcut for android for your connection. Edit the Profile (Pencil Botton) and there is a buttom down the bottom with green writing "Set Connect Shortcut".
You can also create a disconnect homescreen shortcut,
Deletions:
No Differences
Additions:
You can choose how DNS service is allocated in Configuration/VPN Settings menu. By default, people keep their own DNS settings, so if you want to route them though the VPN, change it here.
You can set default settings for routing, rather than per user settings in Configuration/VPN Settings menu
You will need the external address or domain name of your server (IP address via whatsmyip.com or dyndns etc). Remember to take your phone off your local wifi to connect/setup.
You should now be able to connect (are you off local wifi?) to the VPN.
======Other======
Turn off port forwarding for the web interface if you want to.
There is an OpenVPN app for windows that I am successfully using, pretty sure you'd need admin rights, but not sure. https://openvpn.net/client-connect-vpn-for-windows/
This is the iOS app, but I've never used it https://apps.apple.com/us/app/openvpn-connect/id590379981
You can set default settings for routing, rather than per user settings in Configuration/VPN Settings menu
You will need the external address or domain name of your server (IP address via whatsmyip.com or dyndns etc). Remember to take your phone off your local wifi to connect/setup.
You should now be able to connect (are you off local wifi?) to the VPN.
======Other======
Turn off port forwarding for the web interface if you want to.
There is an OpenVPN app for windows that I am successfully using, pretty sure you'd need admin rights, but not sure. https://openvpn.net/client-connect-vpn-for-windows/
This is the iOS app, but I've never used it https://apps.apple.com/us/app/openvpn-connect/id590379981
Deletions:
You can set default routing, rather than user specific settings in Configuration/VPN Settings menu
You will need the external address or domain name of your server (IP address via whatsmyip.com or dyndns etc)
No Differences
Additions:
The app should pull in the certificates and you can save the profile.
You need to edit the profile details and the settings should be something like:
**Access Server Hostname (locked): **
122.50.5.11
**Profile Name**
newuser@122.50.5.11
**Port (locked)**
9443
**Username (locked)**
newuser
You need to edit the profile details and the settings should be something like:
**Access Server Hostname (locked): **
122.50.5.11
**Profile Name**
newuser@122.50.5.11
**Port (locked)**
9443
**Username (locked)**
newuser
No Differences
Additions:
%%https://122.50.5.11:943%%
Deletions:
No Differences
Additions:
##https:// 122.50.5.11:943##
Deletions:
No Differences
Additions:
=====Set up the Android App=====
You will need the external address or domain name of your server (IP address via whatsmyip.com or dyndns etc)
Install the OpenVPN Connect app on your phone, it is this one
https://play.google.com/store/apps/details?id=net.openvpn.openvpn&hl=en
Run the app and add a profile with the + button
it will ask for the url. If your IP is 122.50.5.11, you'll use:
##https://122.50.5.11:943##
You will need the external address or domain name of your server (IP address via whatsmyip.com or dyndns etc)
Install the OpenVPN Connect app on your phone, it is this one
https://play.google.com/store/apps/details?id=net.openvpn.openvpn&hl=en
Run the app and add a profile with the + button
it will ask for the url. If your IP is 122.50.5.11, you'll use:
##https://122.50.5.11:943##
No Differences
Additions:
Log out of web interface and log in again as new user.
Go to user management and 'Deny Access' or delete the admin user.
Go to user management and 'Deny Access' or delete the admin user.
Deletions:
No Differences
Additions:
=====Set up the web interface=====
Probably set up the security before port forwarding. Go to https://ipaddressofserver:943/admin
Default username/pass is admin/password
Go into the User Permissions menu on the left
Create a new user and give it Admin permissions. Save Settings.
Click 'More Settings' for the Admin user, and give it a password.
Go down to access control (Use NAT should be set) and give the networks you want to the user to be able to access when connected, eg 192.168.1.0/24 (add multiple subnets one below the other)
**Other (Optional)**
You can set network addressing in Configuration/VPN Settings menu.
You can choose how DNS service is allocated in Configuration/VPN Settings menu
You can set default routing, rather than user specific settings in Configuration/VPN Settings menu
Forward these ports in your router to your server running docker. Note that 943 is the web interface - you will need to forward this and expose the this to the outside world to get the clients up and running, but can then turn it off.
9443:TCP
=====Set up the web interface=====
Probably set up the security before port forwarding. Go to https://ipaddressofserver:943/admin
Default username/pass is admin/password
Go into the User Permissions menu on the left
Create a new user and give it Admin permissions. Save Settings.
Click 'More Settings' for the Admin user, and give it a password.
Go down to access control (Use NAT should be set) and give the networks you want to the user to be able to access when connected, eg 192.168.1.0/24 (add multiple subnets one below the other)
**Other (Optional)**
You can set network addressing in Configuration/VPN Settings menu.
You can choose how DNS service is allocated in Configuration/VPN Settings menu
You can set default routing, rather than user specific settings in Configuration/VPN Settings menu
Forward these ports in your router to your server running docker. Note that 943 is the web interface - you will need to forward this and expose the this to the outside world to get the clients up and running, but can then turn it off.
9443:TCP
=====Set up the web interface=====
Deletions:
9443:UDP and TCP
No Differences
Additions:
=====Get the container up=====
run
%%docker-compose up -d%%
=====Do some port forwarding in your router=====
Forward to your server running docker. Note that 943 is the web interface - you will need to forward this and expose the this to the outside world to get the clients up and running, but can then turn it off.
**Forward**
1194:UDP
9443:UDP and TCP
943:TCP
run
%%docker-compose up -d%%
=====Do some port forwarding in your router=====
Forward to your server running docker. Note that 943 is the web interface - you will need to forward this and expose the this to the outside world to get the clients up and running, but can then turn it off.
**Forward**
1194:UDP
9443:UDP and TCP
943:TCP
No Differences
Additions:
Put the right details for your mapped docker storage in the volumes section
- /dockervolumes/openvpn-as:/config
- /dockervolumes/openvpn-as:/config
Deletions:
No Differences
Additions:
- TZ=Pacific/Auckland
Deletions:
- PGID=1000
- TZ=Europe/London
- INTERFACE=eth0 #optional
No Differences
Full history for this page cannot be displayed within a single page, click here to view more.