dsayers
ViX Beta Tester
- Joined
- Mar 19, 2016
- Messages
- 1,819
- Reaction score
- 8
- Points
- 38
Hi I'm looking for help with setting up wireguard via VPN but I can't seem to find much documentation
I can get the wg.conf file from keepsolid VPN.
What I have done so far is
Commands I have done
opkg update && opkg install wireguard-tools
opkg install openresolv
This creates a folder in etc called wireguard so I added my config in there but I'm not sure what to do next
This is an example of my config
What I have noticed is openreslov maybe outdated.
Current version on feeds openresolv (3.5.2-r0)
I think latest is openresolv 3.12.0
I can get the wg.conf file from keepsolid VPN.
What I have done so far is
Commands I have done
opkg update && opkg install wireguard-tools
opkg install openresolv
This creates a folder in etc called wireguard so I added my config in there but I'm not sure what to do next
Code:
root@vuuno4k:~# wg-quick up wg0
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.xxx.xxx.xx/32 dev wg0
[#] ip link set mtu 1420 up dev wg0
[#] resolvconf -a wg0 -m 0 -x /sbin/resolvconf: illegal option -- x
[#] wg set wg0 fwmark 51820
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820 ip: invalid argument '51820' to 'table'
[#] resolvconf -d wg0 -f
[#] ip link delete dev wg0
This is an example of my config
Code:
[Interface]
PrivateKey = xxxxxxxx=
ListenPort = 51820
Address = 10.xxx.107.xxx/32
DNS = 10.100.0.1
[Peer]
PublicKey = xxxxxxxxxx=
PresharedKey = xxxxxxxxxx=
AllowedIPs = 0.0.0.0/0
Endpoint = 5.xxx.169.xxx:51820
PersistentKeepalive = 25
What I have noticed is openreslov maybe outdated.
Current version on feeds openresolv (3.5.2-r0)
I think latest is openresolv 3.12.0
Code:
https://guix.gnu.org/packages/openresolv-3.12.0/