Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Wireguard-kmod and Interface/Routing questions
« previous
next »
Print
Pages: [
1
]
Author
Topic: Wireguard-kmod and Interface/Routing questions (Read 1803 times)
BoogaBooga
Newbie
Posts: 7
Karma: 0
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?
Code:
[Select]
route add -net etc..
Thanks!
Logged
redbull666
Newbie
Posts: 19
Karma: 4
Re: Wireguard-kmod and Interface/Routing questions
«
Reply #1 on:
January 01, 2022, 04:19:13 pm »
I followed this guide today to successfully set up a site-to-site VPN using WG:
https://psychogun.github.io/docs/opnsense/WireGuard-Site-2-Site/
I did not have to use any console commands.
Logged
BoogaBooga
Newbie
Posts: 7
Karma: 0
Re: Wireguard-kmod and Interface/Routing questions
«
Reply #2 on:
January 01, 2022, 04:46:34 pm »
Thanks, I've seen a lot of guides. IMO, the plugin is not very intuitive to use, I prefer text configs and was wondering if I need to bother with the GUI at all to make it work.
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Wireguard-kmod and Interface/Routing questions
«
Reply #3 on:
January 01, 2022, 10:40:00 pm »
You dont need the gui, just pkg install wireguard via CLI.
You only need to assign WG Interfaces when you connect to VPN providers. Otherwise no need to assign
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Wireguard-kmod and Interface/Routing questions