Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

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

    NAT
    2
    7
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cyberalone
      last edited by

      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.
      Untitled-1.gif
      Untitled-1.gif_thumb

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        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?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • C
          cyberalone
          last edited by

          @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? "

          1 Reply Last reply Reply Quote 0
          • C
            cyberalone
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              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

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

              1 Reply Last reply Reply Quote 0
              • C
                cyberalone
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

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

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.