Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
How to NAT Virtual IPs to Physical Ports connected to devices with same IP?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to NAT Virtual IPs to Physical Ports connected to devices with same IP? (Read 55 times)
bryan3301
Newbie
Posts: 1
Karma: 0
How to NAT Virtual IPs to Physical Ports connected to devices with same IP?
«
on:
November 16, 2024, 01:00:22 am »
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!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
How to NAT Virtual IPs to Physical Ports connected to devices with same IP?