krzysz00
Cadet
- Joined
- Jul 2, 2023
- Messages
- 2
Since the one thread I found on this issue ( https://www.truenas.com/community/threads/connect-truenas-to-wireguard-mullvad.109716/ ) didn't seem to have a resolution, and since the OpenVPN client is being deprecated, I figured I should ask: how do I make my TrueNAS scale install a Wireguard client?
That is, I'll be running a wireguard server on another machine that's got a stable domain (let's call it foo.bar). foo.bar will, among other things, run a Wireguard VPN that will relay traffic between all its peers ... which will be my TrueNAS server (sitting behind a dynamic IP and a NAT, hence the extra host) and various devices like my phone.
The official wg-easy application appears (given things like the mandatory "Client DNS" setting) to be focused on running a Wireguard server. Unless I'm missing something fundamental about Wireguard, it seems like setting up the app isn't set up for allowing configuring something like
Is there a way to generate the equivalent of this configuration using the official wg-easy app?
If not, should I be using the @truecharts wireguard app to handle this usecase?
That is, I'll be running a wireguard server on another machine that's got a stable domain (let's call it foo.bar). foo.bar will, among other things, run a Wireguard VPN that will relay traffic between all its peers ... which will be my TrueNAS server (sitting behind a dynamic IP and a NAT, hence the extra host) and various devices like my phone.
The official wg-easy application appears (given things like the mandatory "Client DNS" setting) to be focused on running a Wireguard server. Unless I'm missing something fundamental about Wireguard, it seems like setting up the app isn't set up for allowing configuring something like
Code:
[Interface] # Server's IP on my notional 192.168.23.0/24 subnet, where foo.bar is 192.168.23.1 Address = 192.168.23.2/24 PrivateKey = xxxxxx [Peer] AllowedIPs = 192.168.23.0/24 PublicKey = yyyyyyy Endpoint = foo.bar:51820 PersistentKeepalive = 25
Is there a way to generate the equivalent of this configuration using the official wg-easy app?
If not, should I be using the @truecharts wireguard app to handle this usecase?