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

    PfSense - OVH/SYS - Assigning static IP to VM behind firewall

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    2 Posts 2 Posters 1.1k Views
    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.
    • L
      lamplighter
      last edited by

      Hi, not sure if I'm just being thick here. I have searched the forum and can't find help with this particular issue.

      I have pfSense on an ESXi box, along with several others VMs with soyoustart.com. I want to have pfSense acting as the firewall to the VM's, which each have their own public IP address.

      Static IPs in OVH get assigned a virtual mac address, which you then assign to a machine within ESXi. The netmask is 255.255.255.255 and the gateway is the IP of the ESXi host, which is in a different range (that was a PITA to get around with pfSense!) allowing use of the static IP.

      I have pfSense working fine using DHCP on em1. VMs get an assigned IP and the connection routes through pfSense.
      Disabling DHCP and attempting to assign the OVH provided static IP to a VM, with either ESXi gateway or pfSense as the gateway does not work at all.

      I have not had to do this before, especially with this odd setup so I'm not sure if what I've tried is even close to whats required. Can anyone offer guidance please?

      1 Reply Last reply Reply Quote 0
      • S
        SoulChild
        last edited by

        pfsense doesn't support L2 firewalling, I think

        Also, when your vm's have the ISP as the default gateway, you're out of luck and need to redesign your routing to allow all traffic to flow through pfSense, but i can't tell you with any sofifistication how to do that without knowing your exact setup.

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