Skip to content

A simple container which provides SOCKS5 proxy over PPTP VPN.

Notifications You must be signed in to change notification settings

enp6/docker-pptproxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pptproxy

A simple container which provides SOCKS5 proxy over PPTP VPN.

Environment variables

  • SERVER: PPTP server address
  • USERNAME: PPTP client username
  • PASSWORD: PPTP client password

Examples

Run a proxy container named proxy00 and obtain the IP address:

$ docker run --privileged -d \
    -e SERVER=us.hma.rocks \
    -e USERNAME=YOUR_HMA_USERNAME_HERE \
    -e PASSWORD=YOUR_HMA_PASSWORD_HERE \
    --name proxy00 \
    sgyang/pptproxy:latest
17e7d8869cccae6cccf5b28e28d87c6d3ebe0fd75044a23efd9c976ca0f1312e
$ docker inspect --format '{{ .NetworkSettings.IPAddress }}' proxy00
172.17.0.2

Then, try:

$ curl ifconfig.co
(Your current IP address)
$ curl -x socks5://172.17.0.2:1080 ifconfig.co
(VPN powered address)

Notes

LCP: timeout sending Config-Requests

sudo modprobe nf_conntrack_pptp

About

A simple container which provides SOCKS5 proxy over PPTP VPN.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%