Connecting to VSphere Client



  • I have had a PFSense setup for the last few months, but I am fairly novice when it comes to network. Right now I am trying to connect to my ESXI Server (behind physical PFSense box) through VSphere (on main home network).

    My network looks like this:
    Router-
    WAN: XXX.XXX.XXX.XXX
    LAN: 192.168.1.1

    PFSense-
    WAN: 192.168.1.81
    LAN: 192.168.2.1

    ESXI Server:
    IP: 192.168.2.5

    Laptop I Remote From:
    IP: 192.168.1.31

    I don't have a computer behind the PFSense LAN besides the ESXI server box, so I created a Firewall Rule to connect to the PFSense box with with my laptop (192.168.1.31) by connecting to 192.168.1.81

    http://imgur.com/qOz9cp2

    I have previously attempted to create a rule that would let me use "192.168.1.81" as the address in the VSPhere client from the laptop, but then I wasn't able to log into the PFSense web GUI, from my laptop. While at that time, I could connect to the server using the client. The VMs had IP that were something like 192.254.XXX.XXX, so then I was unable to remote into the VMs from the client.
    This was that rule: http://imgur.com/ZPqEHqf

    My question is how should I set my rules so I can use the PFSense Web GUI from my laptop, use VSPhere client to remote into the ESXI server, and allow me to connect to those VMs within VSphere?



  • You should avoid exposing these things to the Internet.  Instead, setup OpenVPN and then VPN into your network and then run anything you want without having to worry about port forwards & firewall rules.


Log in to reply