OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: cgi2099 on June 24, 2024, 02:04:04 PM

Title: NAT help please
Post by: cgi2099 on June 24, 2024, 02:04:04 PM
Hello all I recently added a 9 port 2.5g POE switch to my setup to power all my cameras, my ap and modem.

OPNsense is installed on a HP t740 with an intel 2 port 10g nic. Attached is a diagram:

I ran out of ports and had to get creative with the NVR.

But I need help with NAT.

VLAN 40 (CCTV) is 10.10.40.1/24
Realtek nic on OPNsense(CCTVNVR) is 10.10.45.1/24

The reolink NVR will not detect cameras that are not on the same subnet. So I need VLAN 40 to seem like they are on 10.10.45.1/24.

Also attached is a screenshot of my NAT rules and firewall rules, I thought would work, but does not.


Title: Re: NAT help please
Post by: Patrick M. Hausen on June 24, 2024, 02:30:36 PM
Please attach images here in the forum and don't expect people to click on arbitrary external links. Thank you.
Title: Re: NAT help please
Post by: cgi2099 on June 24, 2024, 02:51:50 PM
Rules1
Title: Re: NAT help please
Post by: cgi2099 on June 24, 2024, 02:52:15 PM
Rules2
Title: Re: NAT help please
Post by: cgi2099 on June 24, 2024, 02:52:40 PM
Rules3
Title: Re: NAT help please
Post by: cgi2099 on June 24, 2024, 02:53:43 PM
Quote from: Patrick M. Hausen on June 24, 2024, 02:30:36 PM
Please attach images here in the forum and don't expect people to click on arbitrary external links. Thank you.

Thank you for the reply : ) and I think I have the links fixed now