All Projects → mobtitude → Docker Vpn Pptp

mobtitude / Docker Vpn Pptp

Licence: mit
Simple VPN (PPTP) server in Docker

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to Docker Vpn Pptp

meshboi
meshboi is a mesh VPN tool created for the purposes of learning and fun
Stars: ✭ 104 (-60.61%)
Mutual labels:  vpn
lokinet
Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
Stars: ✭ 796 (+201.52%)
Mutual labels:  vpn
remoteTelegramShell
control your Linux OS computer through Telegram
Stars: ✭ 73 (-72.35%)
Mutual labels:  vpn
what-vpn
Identify servers running various SSL VPNs based on protocol-specific behaviors
Stars: ✭ 24 (-90.91%)
Mutual labels:  vpn
vpnping
Ping nordvpn servers to find the best/fast for you
Stars: ✭ 27 (-89.77%)
Mutual labels:  vpn
yubi-oath-vpn
Simply insert your Yubikey and connect automatically to your TOTP-2FA-VPN.
Stars: ✭ 15 (-94.32%)
Mutual labels:  vpn
VPNStatus
VPNStatus, a replacement for macOS builtin VPN Status
Stars: ✭ 107 (-59.47%)
Mutual labels:  vpn
Ovpm
OpenVPN Management Server - Effortless and free OpenVPN server administration
Stars: ✭ 256 (-3.03%)
Mutual labels:  vpn
UWPToyVpn
A UWP VPN plugin sample.
Stars: ✭ 31 (-88.26%)
Mutual labels:  vpn
ruantiblock
Использование tor или VPN для доступа к заблокированным сайтам
Stars: ✭ 20 (-92.42%)
Mutual labels:  vpn
nconnect
Securely connect to remote machines without the need of any server, public IP address, or publicly exposed ports.
Stars: ✭ 38 (-85.61%)
Mutual labels:  vpn
k8s-ovpn-chart
[DEPRECATED] Helm chart for a private OpenVPN server
Stars: ✭ 19 (-92.8%)
Mutual labels:  vpn
ios
VPN Client iOS
Stars: ✭ 46 (-82.58%)
Mutual labels:  vpn
warp
WARP one-click script. Add an IPv4, IPv6 or dual-stack CloudFlare WARP network interface and Socks5 proxy for VPS. 一键脚本
Stars: ✭ 950 (+259.85%)
Mutual labels:  vpn
free-vpn
A list of free VPN services
Stars: ✭ 29 (-89.02%)
Mutual labels:  vpn
linux-cli-community
Linux command-line client for ProtonVPN. Written in Python.
Stars: ✭ 1,166 (+341.67%)
Mutual labels:  vpn
v2ray
V2ray看新闻,自动抓取可用节点,以V2ray的机制上网看新闻
Stars: ✭ 44 (-83.33%)
Mutual labels:  vpn
Vedetta
OpenBSD Router Boilerplate
Stars: ✭ 260 (-1.52%)
Mutual labels:  vpn
vtun
A mirror of VTUN, with some changes
Stars: ✭ 56 (-78.79%)
Mutual labels:  vpn
docker-pritunl
Ubuntu Xenial + Pritunl
Stars: ✭ 109 (-58.71%)
Mutual labels:  vpn

VPN (PPTP) for Docker

This is a docker image with simple VPN (PPTP) server with chap-secrets authentication.

PPTP uses /etc/ppp/chap-secrets file to authenticate VPN users. You need to create this file on your own and link it to docker when starting a container.

Example of chap-secrets file:

# Secrets for authentication using PAP
# client    server      secret      acceptable local IP addresses
username    *           password    *

Starting VPN server

To start VPN server as a docker container run:

docker run -d --privileged -p 1723:1723 -v {local_path_to_chap_secrets}:/etc/ppp/chap-secrets mobtitude/vpn-pptp

Edit your local chap-secrets file, to add or modify VPN users whenever you need. When adding new users to chap-secrets file, you don't need to restart Docker container.

Connecting to VPN service

You can use any VPN (PPTP) client to connect to the service. To authenticate use credentials provided in chap-secrets file.

Troubleshooting

Docker 1.7.x and connection issues

After upgrading from Docker 1.3.0 to Docker 1.7.1 the containers started from image mobtitude/vpn-pptp stopped accepting connections to VPN without any reason. Connections were dropped after timeout.

It looked like Docker deamon didn't forward packets for GRE protocol to container.

One of the possible solutions is to start container with networking mode set to host by adding param --net=host to run command:

docker run -d --privileged --net=host -v {local_path_to_chap_secrets}:/etc/ppp/chap-secrets mobtitude/vpn-pptp

Note: Before starting container in --net=host mode, please read how networking in host mode works in Docker: https://docs.docker.com/reference/run/#mode-host

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].