Sign inSign up

rundqvist/openvpn-tinyproxy

By rundqvist

•Updated about 6 years ago

🔒 User friendly OpenVPN proxy. Multiple architecture and VPN provider-support.

Image
0

10K+

rundqvist/openvpn-tinyproxy repository overview

⁠Docker OpenVPN container with Tinyproxy

A user friendly container for proxying http(s)-traffic through vpn.

Docker pulls image size commit activity last commit

⁠Do you find this container useful?

Please support the development by making a small donation.

Support Support Support

⁠Features

  • Killswitch (kills network if vpn is down)
  • Proxies all http(s)-traffic through vpn
  • Self healing (restarts vpn if connection breaks down)
  • Connect to random server
  • Healthcheck (checking that ip differs from public ip)

⁠Requirements

Sign up Sign up

⁠Components

Built on rundqvist/openvpn⁠ container.

⁠Run

$ sudo docker run \
    -d \
    --cap-add=NET_ADMIN \
    --device=/dev/net/tun \
    --name=tinyproxy-openvpn \
    --dns 1.1.1.1 \
    --dns 1.0.0.1 \
    -p [PORT]:8888 \
    -e 'HOST_IP=[your server ip]' \
    -e 'VPN_PROVIDER=[your vpn provider]' \
    -e 'VPN_USERNAME=[your vpn username]' \
    -e 'VPN_PASSWORD=[your vpn password]' \
    -e 'VPN_COUNTRY=[your desired country]' \
    -v /path/to/cache/folder:/cache/ \
    rundqvist/tinyproxy-openvpn
⁠Configuration

See base image (rundqvist/openvpn⁠) for detailed vpn configuration.

⁠Variables
VariableUsage
PORTPort for access to tinyproxy
HOST_IPIP of server on your local network (needed for communication between container and local network).
VPN_PROVIDERYour VPN provider ("ipvanish⁠" or "wevpn⁠").
VPN_USERNAMEYour VPN username.
VPN_PASSWORDYour VPN password.
VPN_COUNTRYISO 3166-1 alpha-2 country code (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2⁠).
VPN_KILLSWITCHKills network if vpn is down.
true (default) or false.
VPN_INCLUDED_REMOTESHost names separated by one space. VPN will only connect to entered remotes.
VPN_EXCLUDED_REMOTESHost names separated by one space. VPN will not connect to entered remotes.
VPN_RANDOM_REMOTEConnects to random remote.
true or false (default).

Variables in cursive is mandatory.

⁠Volumes
FolderUsage
/cache/Used for caching original configuration files from vpn provider

⁠Setup

Configure your client to use HOST_IP:PORT as proxy.

⁠Issues

Please report issues at https://github.com/rundqvist/docker-tinyproxy-openvpn/issues⁠

Tag summary

Content type

Image

Digest

Size

19.8 MB

Last updated

about 6 years ago

docker pull rundqvist/openvpn-tinyproxy