Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - bryan3301

#1
I am new to OPNsense. I have a small fan-less system with 10 ethernet ports running OPNsense. One LAN port I use to connect my laptop and get a DHCP address (192.168.1.0/24 network) and one WAN port I leave disconnected. The other 8 ports are open/unused.

I regularly have to build systems that require me to connect my laptop directly to the device and SSH to 192.168.2.2. I would like to leverage OPNsense to allow me to connect to up to 8 devices at once during a build to save from moving cables. Essentially, I would like all 8 physical ports to have a unique IP on my LAN side and "NAT?" to 192.168.2.2 on the device end.

Here is a breakdown:'
Port 1 [LAN] - 192.168.1.1 (My laptop connects here and gets a DHCP address)
Port 2 [WAN] - Disconnected/Unused
Port 3 - Will connect to a device with IP 192.168.2.2
Port 4 - Will connect to a device with IP 192.168.2.2
Port 5 - Will connect to a device with IP 192.168.2.2
Port 6 - Will connect to a device with IP 192.168.2.2
Port 7 - Will connect to a device with IP 192.168.2.2
Port 8 - Will connect to a device with IP 192.168.2.2
* For ports 3-8, I would like an ?internal/LAN? IP that sends traffic to the connected device (192.168.2.2). At least SSH, but ideally, all ports. Is there a way to have each port have a unique "LAN" IP that I can SSH to which in turn will send the SSH traffic out the correct physical port to 192.168.2.2?

How can I configure this? Thank you in advance!