The idea is to have the traffic ‘flowing’ through the laptop’s physical NIC to the virtual machine running pfSense, then back to the Windows host through the Loopback adapter.
In what follows, I will describe how to install the Microsoft Loopback adapter on Windows 7 (apparently it works the same for Vista). For other flavours of Windows, such as XP and 2000, 2003 Server, a very simple search will do the job.
Installing Microsoft Loopback adapter on Windows 7:
- Login as Administrator (you’re operating on Windows 7 as a standard user by default, right?!)
- Open Device Manager
- Right-click your computer name (in my example that is Envy-14):
- Click Add Legacy Hardware. Press Next
- In the next window choose ‘Install the hardware that I manually select from a list (Advanced)’. Press Next:
- Scroll down and select Network Adapters. Press Next:
- In the next window select Microsoft on the left side and then scroll down to Microsoft Loopback Adapter. Click Next:
- A window will ask you to confirm the installation. Click Next
- A window will confirm that the hardware has been installed. Click Finish
Done! You don’t need to configure it yet, as you need a gateway which will soon be the virtual machine running pfSense.