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

Install firewall on hyper-v but cant connect to network

Scheduled Pinned Locked Moved Firewalling
3 Posts 2 Posters 1.6k 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.
  • V
    VuTan
    last edited by Mar 31, 2017, 8:32 AM

    Hello guys, I'm new to firewall and system, so I have some connection problems, I installed hyper-v, in hyper-v I install pfsense firewall, one MS server 2012 and one client, I have created one external in virtual switch manager and it linked to pfsense, and one private switch link to MS server and pfsense, but the problem is, pf sense already got the DHCP IP, and LAN also got the IP as well, but in pfsense I cant ping to 8.8.8.8 which is domain name system of my network, and in MS server does not access the internet, I have tried to change many type network adapter, but the problem is still there :(

    1 Reply Last reply Reply Quote 0
    • V
      VuTan
      last edited by Apr 1, 2017, 2:48 AM

      hello guys, can you please help me out ?

      1 Reply Last reply Reply Quote 0
      • J
        Jeremy11one
        last edited by Apr 7, 2017, 1:27 AM Apr 7, 2017, 1:23 AM

        I use pfSense in Hyper-V and it works great.

        From memory:
        *Give your physical server two NICs.  One NIC will plug into your internet modem and the other NIC will plug into your physical LAN switch with all your computers.
        *In Hyper-V, go to the Virtual Switch Manager.  In there, create a virtual switch for the WAN and one for the LAN, and assign those to the two NICs (don't mix them up).
        *On the WAN switch, make sure to clear the checkbox that says "Allow management operating system to share this network adapter"
        *On the LAN switch, you can leave that checked.
        *Add two NICs to the pfSense virtual machine, assigning one to the virtual WAN switch, and the other to the virtual LAN switch.  It doesn't matter which one, but remember the MAC address of which one went where.
        *Boot it up and install pfSense.
        *In the pfSense command prompt, you follow the instructions to assign one of those virtual NICs to the pfSense's WAN interface and the other to pfSense's LAN interface (don't mix them up).
        *Make sure that pfSense's WAN interface picked up a valid DHCP address from your ISP.  Sometimes you have to call the ISP and tell them you changed your "router" to a new one.
        *Make sure your client PCs are getting a valid DHCP address from pfSense (don't remember if DHCP is enabled by default or not)

        That's about it for getting it to run.  You should be able to log into pfSense web GUI to manage different settings and stuff, and your clients should be able to ping out.  I probably left out some steps but this is definitely a general overview.

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received