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

    Route virtual machine internet connection through virtual pfsense

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 1.8k 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.
    • A
      abegaillpates
      last edited by

      Hello! I installed pfSense in a virtual machine. It installed fine, and I can access the web configurator in both my host and other vm which runs on linux (the host runs on win7). I want to put my vm behind pfsense, but not my host. How do I do this? I think there is something wrong with my network configuration, since even though I block the vm from accessing the net in pfsense, it can still manage to connect. Some forums say I should set a private IP for my host and set a default gateway through which I can route the internet through pfsense. I am a newbie and I don't understand any of this.

      What should I do? This problem has been bugging me for days now.

      I am a newbie in networking and I really really appreciate any help anyone can give.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • M
        mrbnet
        last edited by

        What virtual platform are you using? Vmware, VirtualBox, Hyper-v?

        It sounds like you don't want your pfsense box to be behind the host computer. If this is the case you will need to go into the networking configuration of your virtual environment and bridge the pfsense WAN interface to the physical hosts external interface. You will then want to create another virtual switch/network and connect the pfsense LAN interface to that. Anything you connect to the new virtual network will be behind the pfsense firewall.

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