Created VPN settings for mullvad. Updated .env.example to reflect home server settings

This commit is contained in:
Steve Dogiakos 2025-01-17 14:43:23 -07:00
parent 2fc3cae10d
commit 7dfe33863a
3 changed files with 40 additions and 3 deletions

View File

@ -1,12 +1,12 @@
# Your timezone, https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TZ=Europe/Lisbon
TZ=America/Denver
# UNIX PUID and PGID, find with: id $USER
PUID=1000
PGID=1000
# The directory where configuration will be stored.
ROOT=/home/{youruser}/
ROOT=/home/steve/
# The directory where data will be stored.
HDDSTORAGE=/home/{youruser}/Storage/
HDDSTORAGE=/mnt/mediadrive/
# Wireguard Settings
#Your public ip, auto for auto detect

View File

@ -0,0 +1,2 @@
[USER] # mullvad account number, no spaces
m # password

View File

@ -0,0 +1,35 @@
client # these settings will come from mullvad_xx_ams.conf
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
verb 3
remote-cert-tls server
ping 10
ping-restart 60
sndbuf 524288
rcvbuf 524288
cipher AES-256-GCM
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384
proto udp
auth-user-pass /vpn/mullvad_userpass.txt
ca /vpn/mullvad_ca.crt
script-security 2
up /vpn/update-resolv-conf
down /vpn/update-resolv-conf
fast-io
remote-random
remote xxx.xx.xxx.x1 1302 # nl-ams-ovpn-005
remote xxx.xx.xxx.x12 1302 # nl-ams-ovpn-001
remote xxx.xx.xxx.x13 1302 # nl-ams-ovpn-002
remote xxx.xx.xxx.x14 1302 # nl-ams-ovpn-004
remote xxx.xx.xxx.x15 1302 # nl-ams-ovpn-003
<ca>
-----BEGIN CERTIFICATE-----
# paste key from mullvad_ca.crt here
-----END CERTIFICATE-----
</ca>
key-direction 1