Help: NAT Rule from Vmware Server to Real LAN server ?



  • Hi,

    I am doing a system for myself. I have 2 servers. One server installed Esxi 5.5 the other one is Centos 7. They are connected with a cable.

    I have 3 different IPs. The first one is for the VMware. The second IP is connected to a centos installed server which works also fine.

    The problem is the server which is connected physically is accessible from LAN (tested from virtual server) also has internet connection but I can't access to the server via the IP I have given from Pfsense.

    Using NAT Port Forwading

    This is I have done

    WAN TCP * * WAN Address 80 Lan address 80

    Rules

    IPv4 TCP Lan address 80 * none

    What am I doing wrong ?

    Thanks.


  • LAYER 8 Global Moderator

    Is it esxi 5.5u2 at min?  freebsd 10.x is not really supported until 5.5u2

    So you have your vmkern is on your wan?  What is this network?  Public or rfc1918?  It doesn't overlap with your 192.168.0 network does it?



  • @johnpoz:

    Is it esxi 5.5u2 at min?  freebsd 10.x is not really supported until 5.5u2

    When I check version itself it says Exsi 5.5.0 Build 1746018.

    @johnpoz:

    So you have your vmkern is on your wan?  What is this network?  Public or rfc1918?  It doesn't overlap with your 192.168.0 network does it?

    The system is hosted on a datacenter. What do you mean by " Public or rfc1918? "



  • I checked the server which is connected physically. It works like a server connected to a LAN via cable. It doesn't cause any trouble to other PCs. I managed to sort this out but I forgot to take a snapshot. I was testing more things on pfsense but it crushed. Now trying to understand how it is done.


  • LAYER 8 Global Moderator

    that build is quite old from 2014-04-19, no that is not update 2.. That is just after update 1.. Update 2 is build 2068190, and was released 2014-09-09.. Current build for 5.5 is 3568722 and was released 2016-02-21 and is past updated 3b which was released 2015-12-08

    I would really suggest you update to current either in the 5.5 line or why not move to 6??

    So this is in a DC somewhere.  Ok then yeah have to assume your on a public, ie a normal internet IP that routes on the internet, not rfc1918 which is the private address space 192.168/16, 172.16/12 and 10/8



  • I found the problem. It isn't about esxi. The problem is I made configs for the internet connection that comes from switch but it will come from another linux server. Can somebody tell me how I can get the internet connection from another linux server ?

    Thanks.


  • LAYER 8 Global Moderator

    huh??  If you want pfsense wan to have internet it needs to point at the gateway that gives it internet.


Log in to reply