1
21.7 Legacy Series / Wireguard-kmod and Interface/Routing questions
« on: January 01, 2022, 04:15:33 pm »
Hi Everyone,
I've been trying to setup wireguard(-go/-kmod) and have a few questions about the way Opnsense deals with interfaces and routes.
If I install wireguard manually, do I need the gui plugin? This is going to be a site to site VPN so I am fine with configuring manually. Will wireguard work without the plugin?
Second, most tutorials online direct you to add a wireguard interface in the gui. When I install wireguard and bring up the interface (i.e. wg0) I see it exists by running ifconfig. What benefit does adding an 'interface' in the gui provide? Is it required?
Similar question for gateways and static routes. In opnsense land, whats the difference between a Gateway and a static route?
Can I add a static route using the route command without doing anything in the gui?
Thanks!
I've been trying to setup wireguard(-go/-kmod) and have a few questions about the way Opnsense deals with interfaces and routes.
If I install wireguard manually, do I need the gui plugin? This is going to be a site to site VPN so I am fine with configuring manually. Will wireguard work without the plugin?
Second, most tutorials online direct you to add a wireguard interface in the gui. When I install wireguard and bring up the interface (i.e. wg0) I see it exists by running ifconfig. What benefit does adding an 'interface' in the gui provide? Is it required?
Similar question for gateways and static routes. In opnsense land, whats the difference between a Gateway and a static route?
Can I add a static route using the route command without doing anything in the gui?
Code: [Select]
route add -net etc..
Thanks!