Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
Static Routes in Lan interface
« previous
next »
Print
Pages: [
1
]
Author
Topic: Static Routes in Lan interface (Read 5596 times)
ivan.schwinn
Newbie
Posts: 6
Karma: 1
Static Routes in Lan interface
«
on:
August 30, 2018, 01:41:19 pm »
Hello friends of the forum I'm new here, sorry if I'm posting in the wrong place, but I need a little help. After much searching for an opensource solution for utm I found opnsense for having a friendly interface and so many good points.
My problem is this: I need it to run on a routed network with static routes. NAT is only going to be done in Opensense, in the lan of the firewall I have connected a routerboard where all my static routes are already configured, how do I make opnsense "enchergar" my subnets that are configured in the hub?
Note: for me it is not possible to use ospf I need everything done in a static way as it is today.
my scenario is like this
internet (multi-wan ) => nat/firewall ip lan (172.16.x.1/24=> ip wan (172.16.x.2/24) core (without nat) ip lan (192.168.x.1/24)=> clients lan 192.168.x.0/24
Logged
Evil_Sense
Full Member
Posts: 112
Karma: 15
Re: Static Routes in Lan interface
«
Reply #1 on:
August 30, 2018, 08:13:23 pm »
You can configure static routes here:
System > Routes > Configuration
Logged
ivan.schwinn
Newbie
Posts: 6
Karma: 1
Re: Static Routes in Lan interface
«
Reply #2 on:
August 30, 2018, 08:32:07 pm »
thank you. and now for the internet to work on these networks how do I create a nat for each subnet?
Logged
Evil_Sense
Full Member
Posts: 112
Karma: 15
Re: Static Routes in Lan interface
«
Reply #3 on:
August 30, 2018, 09:14:48 pm »
Assuming the subnets are able to reach the opnsense instance, you can configure outbound NAT here:
Firewall > NAT > Outbound
You have to switch to 'Hybrid outbound NAT rule genration' and enter them as manual rules.
Logged
ivan.schwinn
Newbie
Posts: 6
Karma: 1
Re: Static Routes in Lan interface
«
Reply #4 on:
August 30, 2018, 09:39:21 pm »
Thank you, I'll test and put the result.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
Static Routes in Lan interface