You are not logged in.
Confused on setting up Mullvad VPN with systemd-networkd and wireguard.
Important file to this situation:
"/etc/iwd/main.conf" (iwd config file)
"/etc/systemd/network/25-wireless.network" (network connection for my wireless device using iwd)
"/etc/systemd/resloved.conf"
Contents contained within said files:
/etc/iwd/main.conf
[Network]
NameResolvingService=systemd
[Scan]
DisablePeriodicScan=true
/etc/systemd/network/25-wireless.network
[Match]
Name=wlan0
[Network]
DHCP=yes
/etc/systemd/resloved.conf
Default config file with no changes.
What I have done so far successfully:
Use wireguard to create a private key,
Downloading vpn config file from Mullvad for wireguard
What I am confused on:
where can I find my listening port for my system?
how do I set up my .netdev and .network file to have networkd connect to the vpn.
I have read https://wiki.archlinux.org/index.php/Wi … d-networkd and tried to set up with just 2 peers (my system and vpn server), however it fails to connect to the internet.
Any help will be appreciated
Last edited by dosamoda (2021-04-07 10:22:03)
Offline
SLOVED
You don't need to set up networkd after all.
Here are my steps:
First, Download the config file from mullvad for wireguard.
Second, download wireguard-tools & systemd-resolvconf from the arch repo
Move the config file to the wireguard directory in /etc/wireguard/
Third, run as root, wg-quick up {config-file} #(DO NOT place the suffix .conf) example:
wg-quick up mmlvd-usXX
This should set up your connection to the vpn server.
Last edited by dosamoda (2021-04-07 10:43:36)
Offline