1
22.1 Legacy Series / Re: Enabling Wireguard disables other interfaces
« on: February 25, 2022, 06:39:09 am »- rm -f /var/run/wireguard/wg0.sock
- ifconfig wg create name wg0 [!] Missing WireGuard kernel support (ifconfig: SIOCIFCREATE2: Invalid argument). Falling back to slow userspace implementation.
- wireguard-go wg0
┌──────────────────────────────────────────────────────┐
│ │
│ Running wireguard-go is not required because this │
│ kernel has first class support for WireGuard. For │
│ information on installing the kernel module, │
│ please visit: │
│ https://www.wireguard.com/install/ │
│ │
└──────────────────────────────────────────────────────┘
- wg setconf wg0 /dev/stdin
- ifconfig wg0 inet 10.10.10.1/24 alias
- ifconfig wg0 mtu 1420
- ifconfig wg0 up
- route -q -n add -inet 10.10.10.2/32 -interface wg0
- route -q -n add -inet 0.0.0.0/1 -interface wg0
- route -q -n add -inet 128.0.0.0/1 -interface wg0
- Backgrounding route monitor