Need some help with PFsense and NAT...

  • Thread starter Thread starter davids355
  • Start date Start date
D

davids355

Hi guys,

I have PFsense installed and it has been working so far - I originally set it up because I had two separate public IP ranges on my dedicated server - I have two addresses in one subnet - 1.2.3.4 and 1.2.3.5.

One of those is for my dedicated server and the other is assigned to the WAN interface on PFsense.

then I have another subnet that is routed directly to the WAN ip of pfsense.

This subnet is also public and is 5.6.7.8/28, so I assigned one of those IP addresses as LAN interface on PFsense, and then I use that address as the gateway for all of my other VMs, which use a static address from the pool of addresses available in that subnet.

I had to turn NAT to manual in pfsense - I guess thats because I am dealing with public IP addresses, I dont need any NATing.

However, I am running out of public IP addresses now, so I wanted to set up an additional subnet - a private IP range, for example, 192.168.1.1/24 and then configure NAT on PFsense to translate these private addresses into a public one.

I have set up an additional interface which gets labeled as OPT1, and assigned that with 192.168.1.1, then I have created a VM on my server with 192.168.1.2, put them into the same virtual subnet in hyperV, but the windwos VM has no internet connection.

I think I need to set up NAT for that local IP, but not sure exactly how to do it - any pointers?

Continue reading...
 
Back
Top