Virtual Machines -> PFSense -> WAN interface -> Internet



  • Hi!

    Can someone help me solve this issue.

    I have installed 3 VM's on VMWare Workstation 8.0:

    • Windows XP   - Network adapter: Custom: VMnet0   IP: 192.168.1.5/24  default gateway: 192.168.1.1

    • Ubuntu 11.10   - Network adapter: Custom: VMnet0   IP: 192.168.1.6/24  default gateway: 192.168.1.1

    • FreeBSD for PFSense   - Network adapter: NAT + Network adapter: Custom: VMnet0   LAN: 192.168.1.1

    WAN -> Network adapter: NAT
    LAN -> Network adapter: Custom: VMnet0 (2 VM's)

    My network components should look like this, no?

    I see PFSense GUI on my host and guest OS's. I have access to the internet by my host computer (Windows 7). How can I make internet work with those 2 VM's???

    Thanks!

    In



  • You haven't told us what the problem is. If you've configured it all as you say you have, and the pfSense host has a WAN IP and gateway (that isn't on a 192.168.1/24 subnet), then it should work.

    What is the problem?



  • @Cry:

    You haven't told us what the problem is. If you've configured it all as you say you have, and the pfSense host has a WAN IP and gateway (that isn't on a 192.168.1/24 subnet), then it should work.

    What is the problem?

    Internet doesn't work on 2 VM's.

    I did something wrong with my first Network adapter: NAT?
    IP of my host OS (Windows 7) is 10.24.16.48/16, Default getaway: 10.24.0.1



  • Hi!

    I have installed windows XP and FreeBSD (PFSense) on Virtualbox. I'm using Windows 7 as host OS.

    Windows 7 (host):

    • IP: 10.24.16.48/16

    • Default gateway: 10.24.0.1

    XP configuration (guest):

    • IP: 192.168.1.5/24

    • Default gateway: 192.168.1.1

    • Network adapter on Vritualbox: Bridged Adapter: Realtek PCIe FE Familiy Controller (Is this good?)

    How should I configure PFSense and which Network adapters should I use to make internet work on XP (guest)??

    FreeBSD PFSense:

    • Network adapter 1: ???

    • Newtork adapter 2: ???

    • WAN: ???

    • LAN: ???



  • NAT might work, Bridge would be a better choice IMO (since that gives the pfSense host it's own IP).

    It may also be that you need to configure the Windows firewall to allow the traffic.



  • @Cry:

    NAT might work, Bridge would be a better choice IMO (since that gives the pfSense host it's own IP).

    It may also be that you need to configure the Windows firewall to allow the traffic.

    Look at my attachments..

    Why my internet don't work in VM(XP).???






  • and this








  • Does pfSense have an Internet connection?

    Can the XP host ping 192.168.1.1?

    And, again what does your Windows 7 firewall settings look like?



  • @Cry:

    Does pfSense have an Internet connection?

    Can the XP host ping 192.168.1.1?

    And, again what does your Windows 7 firewall settings look like?

    Yes, XP can ping.




  • XP (VM) can, but Windows 7 can't



  • @Cry:

    Does pfSense have an Internet connection?



  • @Cry:

    @Cry:

    Does pfSense have an Internet connection?

    No.. i can't ping www.google.com



  • Try putting the pfSense's WAN interface into the bridge instead, that removes Windows 7's networking as part of your problem (at the moment you're trying to use it as a router, but you haven't configured it to do so).



  • i think problem is virtual network settings. You can find in pic1 my own vmware virtual network settings. I use vmnet0 for internet access and it is bridged with my host Ethernet. You should make vmnet0 bridge mode with your windows Ethernet card then you will ping to internet. If you send your virtual network image we i can help you.

    Kind regards,
    SGTR



Locked