mirror of
https://github.com/tiyn/wiki.git
synced 2025-10-10 18:01:22 +02:00
docker-images: added docker-openvpn-proxy
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# dyonr - jackettvpn
|
||||
|
||||
This is a [Docker](/wiki/docker.md) container for a VPN protected
|
||||
[Jackett](/wiki/jackett.md) server.
|
||||
This is a [Docker](/wiki/docker.md) container for a [VPN](/wiki/vpn.md)
|
||||
protected [Jackett](/wiki/jackett.md) server.
|
||||
The official container and documentation was made by
|
||||
[dyonr](https://github.com/DyonR/docker-Jackettvpn).
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
This is a [Docker](/wiki/docker.md) container for a
|
||||
[transmission](../transmission.md) server that is connected to the internet via
|
||||
an openVPN tunnel.
|
||||
an [openVPN tunnel](/wiki/vpn.md).
|
||||
The official container and documentation was made by
|
||||
[haugene](https://github.com/haugene/docker-transmission-openvpn).
|
||||
|
||||
|
68
wiki/docker-images/jonohill_-_docker-openvpn-proxy.md
Normal file
68
wiki/docker-images/jonohill_-_docker-openvpn-proxy.md
Normal file
@@ -0,0 +1,68 @@
|
||||
# jonohill - docker-openvpn-proxy
|
||||
|
||||
This is a [Docker](/wiki/docker.md) container for an
|
||||
[OpenVPN proxy](/wiki/vpn.md#proxy).
|
||||
The official container and documentation was made by
|
||||
[jonohill](https://github.com/jonohill/docker-openvpn-proxy).
|
||||
|
||||
## Set-up
|
||||
|
||||
Create the file `rebuild.sh`.
|
||||
Change the settings according to your needs and run `./rebuild.sh` afterwards.
|
||||
|
||||
## Volumes
|
||||
|
||||
Set the following volumes with the -v tag.
|
||||
|
||||
| Outside mount/volume name | Container mount | Description |
|
||||
| ------------------------- | --------------- | ------------------------ |
|
||||
| `ovpn-proxy` | `/config` | storage for openvpn data |
|
||||
|
||||
## Ports
|
||||
|
||||
Set the following ports with the -p tag.
|
||||
|
||||
| Container Port | Recommended outside port | Protocol | Description |
|
||||
| -------------- | ------------------------ | -------- | ------------ |
|
||||
| `9050` | `8080` | HTTP | proxy port |
|
||||
|
||||
## Environment-variables
|
||||
|
||||
Set the following variables with the -e tag.
|
||||
|
||||
| Name | Usage | Default |
|
||||
| ------------------- | --------------------------- | ------- |
|
||||
| `LOCAL_NETWORK` | Set local network subnet | ` ` |
|
||||
| `OPENVPN_USERNAME` | username for OpenVPN | ` ` |
|
||||
| `OPENVPN_PASSWORD` | password for OpenVPN | ` ` |
|
||||
|
||||
## Additional
|
||||
|
||||
There are some special variables to set.
|
||||
|
||||
| Flag | Usage |
|
||||
| ----------- | ---------------------- |
|
||||
| `--cap-add` | add linux capabilities |
|
||||
| `--device` | connect devices |
|
||||
| `--sysctl` | configure systemctl |
|
||||
|
||||
## rebuild.sh
|
||||
|
||||
```sh
|
||||
#!/bin/sh
|
||||
docker stop openvpn-proxy
|
||||
docker rm openvpn-proxy
|
||||
docker pull jonoh/openvpn-proxy
|
||||
docker run --name openvpn-proxy \
|
||||
--restart unless-stopped \
|
||||
-p "9050:8080" \
|
||||
-v "openvpn-proxy:/config" \
|
||||
-e LOCAL_NETWORK=192.168.178.0/24 \
|
||||
-e OPENVPN_USERNAME="<OVPN_USERNAME>" \
|
||||
-e OPENVPN_PASSWORD="<OVPN_PASSWORD>" \
|
||||
--cap-add=NET_ADMIN \
|
||||
--device /dev/net/tun \
|
||||
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
|
||||
-d jonoh/openvpn-proxy
|
||||
|
||||
```
|
@@ -1,6 +1,7 @@
|
||||
# kylemanna - openvpn
|
||||
|
||||
This is a [Docker](/wiki/docker.md) container for an openvpn server.
|
||||
This is a [Docker](/wiki/docker.md) container for an
|
||||
[OpenVPN server](/wiki/vpn.md).
|
||||
The official container and documentation was made by
|
||||
[kylemanna](https://hub.docker.com/r/kylemanna/openvpn).
|
||||
|
||||
|
Reference in New Issue
Block a user