OPNsense Forum

English Forums => General Discussion => Topic started by: Selfhoster on December 05, 2023, 10:55:54 PM

Title: Help With Static Route for Unraid/WG
Post by: Selfhoster on December 05, 2023, 10:55:54 PM
Hi

So im trying to set up "remote Tunneled accees" as defined here: https://forums.unraid.net/topic/84226-wireguard-quickstart/.

But i need to create a static route for this:  "Remark: configure your router with a static route of 10.253.0.0/24 to 192.168.2.193"

i have looked the the forum/documentation but i cant really find an answer for what i need. can any tell me what i need to do to get this fixed.
Title: Re: Help With Static Route for Unraid/WG
Post by: netnut on December 05, 2023, 11:06:30 PM
Quote from: Selfhoster on December 05, 2023, 10:55:54 PM
i have looked the the forum but i cant really find an answer for what i need. can any tell me what i need to do to get this fixed.

Always start at the documentation, not the forum... ;-)

https://docs.opnsense.org/manual/routes.html
Title: Re: Help With Static Route for Unraid/WG
Post by: Selfhoster on December 05, 2023, 11:27:44 PM
i have tryied the documentation but it talks about gateways and all sorts or stuff that i dont really understand. i tried following the instructions but i couldnt get it to work.
Title: Re: Help With Static Route for Unraid/WG
Post by: netnut on December 06, 2023, 01:37:21 AM
Quote
https://docs.opnsense.org/manual/routes.html

A static route can be made in the GUI at SYSTEM: ROUTES: CONFIGURATION.  Click the + "plus" sign and create your route, based on your original question:

Network Address: 10.253.0.0/24
Gateway: 192.168.2.193 (From the dropdown list, assuming this is a Gateway Interface available for OPNsense)

There's your static route...

If you didn't create or configured a gateway somehow: SYSTEM: GATEWAYS: SINGLE. Configfure a Name, Description, Interface and IP address (192.168.2.193) and repeat step above.