Static Routes in Lan interface

Started by ivan.schwinn, August 30, 2018, 01:41:19 PM

Previous topic - Next topic
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

You can configure static routes here:
System > Routes > Configuration

thank you. and now for the internet to work on these networks how do I create a nat for each subnet?

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.

Thank you, I'll test and put the result.