8000 GitHub - boronine/portablevpn: Portable VPN server that can be re-hosted without breaking client configs
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

boronine/portablevpn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portable OpenVPN

When you wish to re-host a VPN server while maintaining existing working client configs, you run into configuration and compatibility problems.

This solution creates a "golden" Docker image tarball that can be re-hosted on any Docker-compatible platform.

The heavy lifting is done by @ix-ai's OpenVPN configuration script.

Build

Generate Docker image tarball and 16 OpenVPN client configs in dist folder:

PORTABLEVPN_HOSTNAME=myvpnwebsite.com ./build.sh

Deploy on a Linux server

From local machine:

scp dist/myvpnwebsitecom.tar myvpnwebsite.com:/home/ubuntu/

From server:

# optional cleanup
docker container stop myvpnwebsitecom
docker container rm myvpnwebsitecom
docker image rm myvpnwebsitecom:latest
# load and run
docker image load < myvpnwebsitecom.tar
docker run -d --name myvpnwebsitecom --cap-add=NET_ADMIN -p 443:1194/tcp myvpnwebsitecom:latest

About

Portable VPN server that can be re-hosted without breaking client configs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0