From 7dfe33863a8a54dd855b9ed3afca65cc7fe69b10 Mon Sep 17 00:00:00 2001 From: Steve Dogiakos Date: Fri, 17 Jan 2025 14:43:23 -0700 Subject: [PATCH] Created VPN settings for mullvad. Updated .env.example to reflect home server settings --- .env.example | 6 ++--- Config Files/config/mullvad/vpn.auth | 2 ++ Config Files/config/mullvad/vpn.conf | 35 ++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 Config Files/config/mullvad/vpn.auth create mode 100644 Config Files/config/mullvad/vpn.conf diff --git a/.env.example b/.env.example index 0fb05af..25ed584 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/Config Files/config/mullvad/vpn.auth b/Config Files/config/mullvad/vpn.auth new file mode 100644 index 0000000..63464f7 --- /dev/null +++ b/Config Files/config/mullvad/vpn.auth @@ -0,0 +1,2 @@ +[USER] # mullvad account number, no spaces +m # password \ No newline at end of file diff --git a/Config Files/config/mullvad/vpn.conf b/Config Files/config/mullvad/vpn.conf new file mode 100644 index 0000000..e838ede --- /dev/null +++ b/Config Files/config/mullvad/vpn.conf @@ -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 + + +-----BEGIN CERTIFICATE----- +# paste key from mullvad_ca.crt here +-----END CERTIFICATE----- + + +key-direction 1