VMWare ESXi 5, pfSense 2 and Virtual IPs
I am testing a few firewall distros in vmware Esxi 5, before going into production in a couple of months.
Initially, I will be running all my hosts within a single server.
I want to have one inside network and one WAN network.
This is how my setup looks now:
vSwitch (not plugged to a NIC): Internal (192.168.1.0/24)
vSwitch (plugged into physical NIC0): WAN (18.104.22.168/24)
I installed pfSense, and connected and configured the two interfaces:
WAN: 22.214.171.124 (Gateway: 126.96.36.199)
I have configured other two hosts, running (one win win7,
other with winXP,
other with CentOS, on the Internal network, with IPs (DHCP configured in pfSense):
All the 3 hosts can ping each other.
All the 3 hosts can ping the pfSense box (192.168.1.1)
I configured NAT and all the 3 hosts have Internet access.
I configured a Virtual IP, 188.8.131.52
The I configured NAT to the inside IP 192.168.1.166
However, I can't make the virtual IPs to work.
Any ideas what could be happening??
Nevermind, I figured it out.
This is what I did:
1. login into the firewall webgui
2. go to Firewall -> Virtual IP
3. Update virtual IPs
Type: Proxy ARP
IP addresses: single IP
Edit your virtual IPs with the new IPs provided
4. go to Firewall -> NAT
5. Select the Port Forward tab
6. Create new rule:
Destination: Type: (select your previously created VIP)
Destination port range: from: MSRDP to: MSRDP
Redirect target IP: 192.168.1.166
Redirect target port: MSRDP
NAT Reflection: Use system default
Filter rule association: Rule NAT
Hope this helps someone!