I have two networks: 10.0.0.0/24 and 10.1.1.1/24.
Default gateway to the Internet is 10.1.1.1 and my gateway system gets assigned 10.1.1.20 on the external interface and has 10.0.0.1 on the internal interface.
I don't want to run a firewall or have a pf or ipfw ruleset - I just want a simple gateway between the two networks.
My config in rc.conf contains:
gateway_enable="yes" static_routes="route1" route_route1="-net 10.0.0.0/24 10.1.10.1"
With this configuration, the gateway itself is connected to the Internet and works properly - but all of the internal 10.0.0.0/24 hosts have no connectivity.
I'd really like to have a dead simple gateway with nothing but gateway_enable="yes" and a single, static route ... but I wonder if this is not possible because both networks are non-routable, private address space ?
Do I require NAT in this situation, or is it possible to have a simple router with no NAT or firewall config ?
Thank you.