Configure internet on OPT 1 and Configure routing in same

Started by Gamester, December 25, 2022, 11:00:17 PM

Previous topic - Next topic
Hey,
I have set up OPNsense such that I have static ip wan input and other 2 interfaces are

Lan (192.168.0.1/24).
OPT1 (192.168.1.1/24). Range - 192.168.1.5-192.168.1.254


When I plug my laptop in OPT1 port it gets DHCP address but fails to get internet. I have set up firewall rules but it didn't work. Could anyone point out what am I missing?

Also my main goal is to install AP on 192.168.1.2 and install camera on its wifi with ip (192.168.3.x) to keep it off internet and organized. Can you guide me how can I define the route to camera?

One more thing, I want 192.168.1.x and 192.168.0.x to ping each other, as I have not yet properly set up OPT1, I was going to do it later but I think they won't ping each other automatically and I don't know what rules to setup for the same?

Outbound NAT rule and DNS for OPT1 configured? ;-)
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Quote from: Gamester on December 25, 2022, 11:00:17 PM
Also my main goal is to install AP on 192.168.1.2 and install camera on its wifi with ip (192.168.3.x) to keep it off internet and organized. Can you guide me how can I define the route to camera?

Is your AP and Network Switch VLAN aware?

Quote from: chemlud on December 26, 2022, 09:14:14 AM
Outbound NAT rule and DNS for OPT1 configured? ;-)

Sorry for the late reply
I figured it out earlier and forgot about this thread. Thanks I did, setup the firewall rules properly and everything seems to work fine.
Only problem that I need a separate router for 192.168.3.0 subnet as to keep camera off network. It would be great if it would be possible on router with subnet 192.168.2.0 as I wont need to setup extra router.
I know I need to setup extra router as paths wont get defined on different subnet. Anyway thanks again!!

Quote from: EdwinKM on December 26, 2022, 09:31:34 AM
Quote from: Gamester on December 25, 2022, 11:00:17 PM
Also my main goal is to install AP on 192.168.1.2 and install camera on its wifi with ip (192.168.3.x) to keep it off internet and organized. Can you guide me how can I define the route to camera?

Is your AP and Network Switch VLAN aware?

no, its not vlan aware but I can turn it on also I am trying to block everything with firewall rules as I think they are more flexible and easy to set up

Edit- VLAN are more useful in same subnet? but as I can use multiple subnets I can segregate each device type in its own subnets such as VPN clients, VMs, Home devices etc..

Quote from: Gamester on February 03, 2023, 12:30:12 PM
VLAN are more useful in same subnet?
No. VLANs are separate virtual LANs. No two networks can use the same subnet on a single device.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)