Help With Static Route for Unraid/WG

Started by Selfhoster, December 05, 2023, 10:55:54 PM

Previous topic - Next topic
December 05, 2023, 10:55:54 PM Last Edit: December 05, 2023, 11:32:22 PM by Selfhoster
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.

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

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.

December 06, 2023, 01:37:21 AM #3 Last Edit: December 06, 2023, 01:49:59 AM by netnut
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.