OPNsense Forum

English Forums => General Discussion => Topic started by: nmetz on February 13, 2019, 05:42:30 pm

Title: [Feature request] Forward To Gateway
Post by: nmetz on February 13, 2019, 05:42:30 pm
At the moment when configuring dhcp you seem to only have the one option of selecting a default gateway, like using a proxy. Alongside this, can you give users the option to use opnsense as a gateway and forward to the actual gateway on a different subnet.

Because, this would be especially useful when using opnsense with coaxial router/modems that don't give you many configuration options or similar situations.

For example, if your opnsense has an address of 10.0.0.1/24, and your default gateway is 10.0.1.1, and in the dhcp config options you have 10.0.0.1 as the default gateway which then forwards all traffic to 10.0.1.1.

Thanks
Title: Re: [Feature request] Forward To Gateway
Post by: bartjsmit on February 13, 2019, 06:45:21 pm
How would your DHCP clients know the route to 10.0.1.1 without a default gateway on their subnet?

Bart...
Title: Re: [Feature request] Forward To Gateway
Post by: nmetz on February 14, 2019, 01:27:52 pm
I was thinking something like this.
Does this help explain what i mean.

(https://i.imgur.com/EcItqG3.jpg)
Title: Re: [Feature request] Forward To Gateway
Post by: mimugmail on February 14, 2019, 05:36:49 pm
I dont understand the problem. OPNsense tells clients to use 10.0.0.1. OPNsense itself has default 10.0.1.1. so when clients sending packets to unknown the go to OPNsense andcfrom there to cable.
Title: Re: [Feature request] Forward To Gateway
Post by: bartjsmit on February 14, 2019, 06:40:45 pm
I agree with mimugmail. Any issues you are experiencing may be due to your router/gateway not having a route to 10.0.0.1

Bart...