All Projects → jippi → docker-pritunl

jippi / docker-pritunl

Licence: other
Ubuntu Xenial + Pritunl

Programming Languages

shell
77523 projects
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to docker-pritunl

terraform-aws-pritunl-vpn-server
Pritunl VPN Server for your public/private like VPC on AWS
Stars: ✭ 40 (-63.3%)
Mutual labels:  vpn, vpn-server, pritunl
Pritunl
Enterprise VPN server
Stars: ✭ 3,360 (+2982.57%)
Mutual labels:  vpn, vpn-server, pritunl
Setup Ipsec Vpn
Scripts to build your own IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Stars: ✭ 16,987 (+15484.4%)
Mutual labels:  vpn, vpn-server
Wireguard-DNScrypt-VPN-Server
Fast setup wireguard server script, with dnscrypt and adblocking, maleware blocking, more blocking if you need. Use case eg. always on vpn and adblocking on ios or android, and be more secured in unknown networks.
Stars: ✭ 48 (-55.96%)
Mutual labels:  vpn, vpn-server
vpns
A collection of vpns
Stars: ✭ 112 (+2.75%)
Mutual labels:  vpn, vpn-server
Macos Openvpn Server
macOS OpenVPN Server and Client Configuration (OpenVPN, Tunnelblick, PF)
Stars: ✭ 172 (+57.8%)
Mutual labels:  vpn, vpn-server
Docker Openvpn
🔐 Out of the box stateless openvpn-server docker image which starts in less than 2 seconds
Stars: ✭ 174 (+59.63%)
Mutual labels:  vpn, vpn-server
topvpn.github.io
Top VPN in China (mainland) 在全球(含中國大陆)好用的国外优质付费vpn推荐
Stars: ✭ 27 (-75.23%)
Mutual labels:  vpn, vpn-server
ezpptp
Easy PPTP VPN setup script for Debian based VPS
Stars: ✭ 87 (-20.18%)
Mutual labels:  vpn, vpn-server
VPN
Personal vpn using v2ray and shadowsocks hosted on heroku
Stars: ✭ 154 (+41.28%)
Mutual labels:  vpn, vpn-server
vpn-user-portal
VPN User Portal
Stars: ✭ 23 (-78.9%)
Mutual labels:  vpn, vpn-server
Tizi
✅ ✅ ✅ 梯子 TOP推荐(持续更新) ✅ ✅ ✅ PC梯子,Windows梯子,电脑梯子,国外好用梯子,推荐翻墙梯子软件,海外加速器梯子,国外vpn,科学上网工具,靠谱iPhone/iPad/安卓/Android/Mac/Linux/PC/路由器都可以用的梯子
Stars: ✭ 168 (+54.13%)
Mutual labels:  vpn, vpn-server
Autovpn
Create On Demand Disposable OpenVPN Endpoints on AWS.
Stars: ✭ 1,959 (+1697.25%)
Mutual labels:  vpn, vpn-server
Shadowsocks Heroku
本项目已删除
Stars: ✭ 224 (+105.5%)
Mutual labels:  vpn, vpn-server
Vpngate With Proxy
vpn gate client for linux, be able to connect to open vpn server through proxy
Stars: ✭ 150 (+37.61%)
Mutual labels:  vpn, vpn-server
Adblocking Vpn
🔒 Create your own VPN server that blocks malicious domains to enhance your security and privacy
Stars: ✭ 139 (+27.52%)
Mutual labels:  vpn, vpn-server
KidVPN
The world's smallest VPN server and client.
Stars: ✭ 63 (-42.2%)
Mutual labels:  vpn, vpn-server
Wg Install
Wireguard road warrior installer for Ubuntu, Debian, CentOS and Fedora
Stars: ✭ 99 (-9.17%)
Mutual labels:  vpn, vpn-server
Vpncn.github.io
2021中国翻墙软件VPN推荐以及科学上网避坑,稳定好用。对比SSR机场、蓝灯、V2ray、老王VPN、VPS搭建梯子等科学上网与翻墙软件,中国最新科学上网翻墙梯子VPN下载推荐。
Stars: ✭ 3,925 (+3500.92%)
Mutual labels:  vpn, vpn-server
openconnect-installer
Automatically set up an Openconnect/Anyconnect VPN server(ocserv) with Let's Encrypt with just one command in CentOS 8.
Stars: ✭ 64 (-41.28%)
Mutual labels:  vpn, vpn-server

Pritunl as a Docker container

Docker Hub Releases

Config (env)

  • PRITUNL_DONT_WRITE_CONFIG if set, /etc/pritunl.conf will not be auto-written on container start.
  • PRITUNL_DEBUG must be true or false - controls the debug config key.
  • PRITUNL_BIND_ADDR must be a valid IP on the host - defaults to 0.0.0.0 - controls the bind_addr config key.
  • PRITUNL_MONGODB_URI URI to mongodb instance, default is starting a local mongodb instance in the container and use that.

Usage

Just build it or pull it from jippi/pritunl. Run it something like this:

docker run \
    -d \
    --privileged \
    -p 1194:1194/udp \
    -p 1194:1194/tcp \
    -p 80:80/tcp \
    -p 443:443/tcp \
    jippi/pritunl

If you have a mongodb somewhere you'd like to use for this rather than starting the built-in one you can do so through the PRITUNL_MONGODB_URI env var like this:

docker run \
    -d \
    --privileged \
    -e PRITUNL_MONGODB_URI=mongodb://some-mongo-host:27017/pritunl \
    -p 1194:1194/udp \
    -p 1194:1194/tcp \
    -p 80:80/tcp \
    -p 443:443/tcp \
    jippi/pritunl

Example production usage:

mkdir -p /gluster/docker0/pritunl/{mongodb,pritunl}
touch gluster/docker0/pritunl/pritunl.conf

docker run \
    --name=pritunl \
    --detach \
    --privileged \
    --network=host \
    --restart=always \
    -v /gluster/docker0/pritunl/mongodb:/var/lib/mongodb \
    -v /gluster/docker0/pritunl/pritunl:/var/lib/pritunl \
    -v /gluster/docker0/pritunl/pritunl.conf:/etc/pritunl.conf \
    jippi/pritunl

Then you can login to your pritunl web ui at https://docker-host-address

Username: pritunl Password: pritunl

I would suggest using docker data volume for persistent storage of pritunl data, something like this:

## create the data volume
docker run \
    -v /var/lib/pritunl \
    --name=pritunl-data busybox
    
## use the data volume when starting pritunl
docker run \
    --name pritunl \
    --privileged \
    --volumes-from=pritunl-data \
    -e PRITUNL_MONGODB_URI=mongodb://some-mongo-host:27017/pritunl \
    -p 1194:1194/udp \
    -p 1194:1194/tcp \
    -p 80:80/tcp \
    -p 443:443/tcp \
    jippi/pritunl

Then you're on your own, but take a look at http://pritunl.com or https://github.com/pritunl/pritunl

Based on johnae/pritunl

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].