OPNsense Forum

English Forums => General Discussion => Topic started by: agustinrojen on January 26, 2018, 04:10:39 pm

Title: How to give clients IP Address, Gateways and DNS using OPNSense?
Post by: agustinrojen on January 26, 2018, 04:10:39 pm
As seen in the image attached below. That will be my setup.

Default Internet IP Gateway: 192.168.254.254

My OPN Interfaces.

LAN (re0) -> v4: 192.168.1.1/24 (default. never changed after installation.
WAN(ue0) -> v4/DHCP4: 192.168.254.101/24

As you can see. Instead of using wireless driver NIC for my WAN. I used my first wired NIC as indicated below for my WAN interface, from Modem to OPNSense. That is why I got 192.168.254.101/24

So. I opened shell in my OPNsense and ping websites(google, facebook, etc.) to test my connection. Hopefully, I got a reply and it can ping those websites.

and my question is..

How do I set up OPNSense to give clients IP address, Gateways, and DNS? for internet connection.
As indicated below. I will be using my second wired NIC from OPNsense to my Switch and my Switch to the Clients.

Can someone help me with my problem? Btw. I'm a newbie when it comes network security. So, it'll be much appreciated if you gentlemen/women could help me. Thank you! I'll be waiting for your thoughtful replies.  :)

From Philippines.