An open API service indexing awesome lists of open source software.

https://github.com/pbrisbin/docker-openvpn-proxy

Proxy through an OpenVPN client connection
https://github.com/pbrisbin/docker-openvpn-proxy

Last synced: about 2 months ago
JSON representation

Proxy through an OpenVPN client connection

Awesome Lists containing this project

README

          

> [!NOTE]
> All of my GitHub repositories have been **archived** and will be migrated to
> Codeberg as I next work on them. This repository either now lives, or will
> live, at:
>
> https://codeberg.org/pbrisbin/docker-openvpn-proxy
>
> If you need to report an Issue or raise a PR, and this migration hasn't
> happened yet, send an email to me@pbrisbin.com.

Proxy through an OpenVPN client connection.

## Usage

```console
docker run \
--name vpn \
--cap-add=NET_ADMIN \
--publish 8118:8118 \
--env VPN_USER=xxx \
--env VPN_PASS=xxx \
--env VPN_GATEWAY=ch1.vpn.giganews.com \
--env VPN_CERTIFICATE=ca.vyprvpn.com.crt \
--detach \
pbrisbin/openvpn-proxy
```

**Note**: `VPN_CERTIFICATE` can be an absolute path or relative to
`/etc/openvpn`. If the cert you intend to use is not present on the basic Alpine
system, be sure to pass it in via `--volume`.

```console
% curl ifconfig.me

% http_proxy=http://localhost:8118 curl ifconfig.me

```