CalebKLundquist
Cadet
- Joined
- Apr 13, 2022
- Messages
- 1
Hi all,
I am currently running my first home server on an HP ProLiant ML310e Gen8 Tower Server (Xeon E3-1220 v3 and 32G RAM) with TrueNAS SCALE 22.02.0.1. In addition, I just purchased Mullvad VPN and am trying to use wireguard with it. To the best of my knowledge, I have properly set up the VPN, but now the Web UI cannot be accessed on the usual IP address. To remedy this, I tried to set up port forwarding with Mullvad, following this guide. It all seems to go ok until I try to check my connection:
Whereas if I run the command without the VPN running, it responds, telling me I am not connected (obviously).
My question is: do you know how to get a commercial wireguard VPN running so you can access the web UI?
In case it is pertinent, here is my wireguard configuration, generated by Mullvad.
I am currently running my first home server on an HP ProLiant ML310e Gen8 Tower Server (Xeon E3-1220 v3 and 32G RAM) with TrueNAS SCALE 22.02.0.1. In addition, I just purchased Mullvad VPN and am trying to use wireguard with it. To the best of my knowledge, I have properly set up the VPN, but now the Web UI cannot be accessed on the usual IP address. To remedy this, I tried to set up port forwarding with Mullvad, following this guide. It all seems to go ok until I try to check my connection:
Code:
root@truenas[~]# curl https://am.i.mullvad.net/connected curl: (6) Could not resolve host: am.i.mullvad.net
Whereas if I run the command without the VPN running, it responds, telling me I am not connected (obviously).
My question is: do you know how to get a commercial wireguard VPN running so you can access the web UI?
In case it is pertinent, here is my wireguard configuration, generated by Mullvad.
Code:
[Interface] PrivateKey = ... Address = ... DNS = 193.138.218.74 PostUp = iptables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT PreDown = iptables -D OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -D OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT [Peer] PublicKey = ... AllowedIPs = 0.0.0.0/0,::0/0 Endpoint = ...