diff --git a/README.md b/README.md index c2f11e5..cab1527 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ It bundles certificates and configurations for the following VPN providers: * Private Internet Access * BTGuard * TigerVPN +* FrootVPN When using PIA as provider it will update Transmission hourly with assigned open port. Please read the instructions below. @@ -34,7 +35,7 @@ By default there will also be created a transmission-home folder under /data whe ### Required environment options | Variable | Function | Example | |----------|----------|-------| -|`OPENVPN_PROVIDER` | Sets the OpenVPN provider to use. | `OPENVPN_PROVIDER=BTGUARD` or
`OPENVPN_PROVIDER=PIA` or
`OPENVPN_PROVIDER=TIGER`| +|`OPENVPN_PROVIDER` | Sets the OpenVPN provider to use. | `OPENVPN_PROVIDER=BTGUARD` or
`OPENVPN_PROVIDER=PIA` or
`OPENVPN_PROVIDER=TIGER` or
`OPENVPN_PROVIDER=FROOT`| |`OPENVPN_USERNAME`|Your OpenVPN username |`OPENVPN_USERNAME=asdf`| |`OPENVPN_PASSWORD`|Your OpenVPN password |`OPENVPN_PASSWORD=asdf`| diff --git a/openvpn/froot/default.ovpn b/openvpn/froot/default.ovpn new file mode 120000 index 0000000..fa6fc71 --- /dev/null +++ b/openvpn/froot/default.ovpn @@ -0,0 +1 @@ +frootvpn.ovpn \ No newline at end of file diff --git a/openvpn/froot/frootvpn.ovpn b/openvpn/froot/frootvpn.ovpn new file mode 100644 index 0000000..6b2291b --- /dev/null +++ b/openvpn/froot/frootvpn.ovpn @@ -0,0 +1,127 @@ +client +dev tun0 +proto udp +resolv-retry infinite +remote-random +nobind +persist-key +persist-tun +ns-cert-type server +verb 3 + +# Read authentication persisted from env +auth-user-pass /config/openvpn-credentials.txt + +# OpenVPN control startup and shut down of transmission +script-security 2 +up /etc/transmission/start.sh +down /etc/transmission/stop.sh + + + +-----BEGIN CERTIFICATE----- +MIIEwTCCA6mgAwIBAgIJANtGjxbsxYjTMA0GCSqGSIb3DQEBBQUAMIGbMQswCQYD +VQQGEwJTRTELMAkGA1UECBMCUVExEjAQBgNVBAcTCUZy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FdkdH6esenhr5ZwKBgQDilh+zzMWvc1M4o9xuROAh9ObE8t5I4bb0 +g9aVZtX1zBE309lEx8CuUAXwbRpfpFgBDQHkfS38PhNqeC0OXbe/Qq3J6j6Nq5Ou +Y00uceMyJk6FVeEwpJ/pf62ZnGpqZ+n7DGLlGTKQ/Mhxf3Xb7Np/HUvRBjPKR0bU +NbC4AS/DwwKBgATCTTC5MCCkYnNs3bAr9MmuTmsr6gYaQVUHG3ryb7eyFR4a2jay +HtjPL8vHT9Otq5ublnLaYMKvmXD3oTrwPpGN7Q8qJDVgcV0nYCHkmFFyn/mkOyEv +JjzC5V+JXwDucXBmv2e4dr6wWePC1HSbILssFioTdg3nRjxSaTzwWS2tAoGAfEy+ +t3PuPoGVdczub8945SfkMMbLClBIfXqVjQAM//oit+2PkxvBp95eY7Z2cWFGpczs +7Nt/DpE/NXkXvnnLAzEhBVNrXWxyZ4gyHvh7GlfJW3vxPS4SS5WvNkWIWzcGNKJm +3ickhkUl8J1rmmoksvbvUIuGfcD8Kg4KE+cSvOECgYEAsX+GdWvo4EguqtDqiOWA +5xIjJsc6sAlUu1JzNUYuTv7l6fmKG5IVM3lL1n6PCc+c15sofFosA1dHINyhpyC6 +LuIQQV37gBRZDFcH5PkggmdmhWkOvm84YiulO2smidD4D0N/qsqLCpgJ9XDyteF4 +c2h3FhYC3DC06hHX9ozbyAk= +-----END PRIVATE KEY----- + +remote se-openvpn.frootvpn.com 1194 +remote se-openvpn.frootvpn.com 1195 +remote se-openvpn.frootvpn.com 1196 +remote se-openvpn.frootvpn.com 1197 +remote se-openvpn.frootvpn.com 1198 +remote se-openvpn.frootvpn.com 1199 +remote se-openvpn.frootvpn.com 1200 +remote se-openvpn.frootvpn.com 1201 +remote se-openvpn.frootvpn.com 1202 +remote se-openvpn.frootvpn.com 1203 +remote se-openvpn.frootvpn.com 1204 +remote se-openvpn.frootvpn.com 1205 +remote se-openvpn.frootvpn.com 1206 +remote se-openvpn.frootvpn.com 1207 +remote se-openvpn.frootvpn.com 1208 +remote se-openvpn.frootvpn.com 1209 diff --git a/openvpn/start.sh b/openvpn/start.sh index ea12678..711d075 100755 --- a/openvpn/start.sh +++ b/openvpn/start.sh @@ -6,6 +6,8 @@ elif [ "$OPENVPN_PROVIDER" = "PIA" ]; then vpn_provider="pia" elif [ "$OPENVPN_PROVIDER" = "TIGER" ]; then vpn_provider="tiger" +elif [ "$OPENVPN_PROVIDER" = "FROOT" ]; then + vpn_provider="froot" else echo "Could not find OpenVPN provider: $OPENVPN_PROVIDER" echo "Please check your settings."