Is this possible with pfsense
-
HI
Production Environment:
Core router LAN 192.168.1.0/24
192.168.1.10 - server
192.168.1.100 - host|
|
|
|
10.10.10.1
pfSense
192.168.1.1
|
|
|
|
Test Environment
LAN 192.168.1.0/24
192.168.1.10 - serverRouter in Production Environment have static route to 10.10.10.0/24 gw 10.10.10.1
Needed :
Host 192.168.1.100 -> 10.10.10.10 (pfSense) -> 192.168.1.10 (behind pfSense)
192.168.1.10 -> 10.10.10.1 (pfSense) -> 192.168.1 gw LAN production -> WAN Production -
@dzinks said in Is this possible with pfsense:
Core router LAN 192.168.1.0/24
I'm not sure I understand the scenario. Is there both some other core router with 192.168.1.0/24 and a pfSense router with 192.168.1.0/24 behind it?
Maybe use https://app.diagrams.net/ and draw your scenario
A host at 192.168.1.100 trying to get to 192.168.1.10 is not going to reach out to it's default gateway, those 2 devices are in the same subnet.
-
Two places, the production environment and the sandbox environment
In both places there are (mirrored) servers with the same IP addresses on the network cards
I need communication to and from the sandbox environment with the preservation of IP addresses on both sides (servers)
-
@dzinks You'd need two pfSense routers connected via their WAN interface.
192.168.1.0/24 can't exist on the same router with different interfaces.
You'd need to do a 1:1 NAT on both routers with different addresses poining to 192.168.1.0 for Production and Sandpit.
https://docs.netgate.com/pfsense/en/latest/nat/1-1.html
https://www.netgate.com/resources/videos/nat-on-pfsense-23.html