Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
Static routes not working
« previous
next »
Print
Pages: [
1
]
Author
Topic: Static routes not working (Read 3917 times)
Trikkitt
Newbie
Posts: 1
Karma: 0
Static routes not working
«
on:
March 28, 2017, 10:57:51 am »
I'm new to OPNsense but have used other routers such as Monowall. I'm struggling to get static routes to be followed.
I've done the normal install using the wizard etc. I've disabled NAT. The WAN interface is on a DMZ subnet with the external router having NAT enabled out to the Internet. OPNsense is configured so that the default gateway is this router.
I have another firewall on this DMZ subnet, and I need to be able to route between them directly (not via the Internet router). I created an entry with this second firewall's IP address in the system > gateways. I've then created an entry in the Routes > Static specifying the subnet behind the firewall and to use this gateway. However traffic never goes via that gateway!
To prove that the issue isn't related to any firewall rules, I altered the default gateway to be the second firewall IP and the two networks could talk just fine. I've tried changing the weighting of the gateways but to no effect. I simply can't seem to get it to route out via anything other than the default gateway!
Any suggestions on what I might be doing wrong?
Thanks!
Logged
criiser
Newbie
Posts: 4
Karma: 1
Re: Static routes not working
«
Reply #1 on:
March 28, 2017, 12:01:41 pm »
Hey.
For me, this sounds a tad unclear. Questions.
"I altered the default gateway to be the second firewall IP and the two networks could talk just fine. "
Where did you alter this GW? On the OpnSense box?
What are the logs saying to you? Firewall: Log Files: Normal View
What is the routing saying to you? System Routing Table
What is: System: Routes: All saying ? What did you add there?
/C/
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
Static routes not working