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

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

    Scheduled Pinned Locked Moved Virtualization
    14 Posts 3 Posters 10.2k 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.
    • D
      dsagud
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • Cry HavokC
        Cry Havok
        last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • D
          dsagud
          last edited by

          @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

          1 Reply Last reply Reply Quote 0
          • D
            dsagud
            last edited by

            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: ???

            1 Reply Last reply Reply Quote 0
            • Cry HavokC
              Cry Havok
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • D
                dsagud
                last edited by

                @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).???

                HOST(Windows7)IP.gif
                HOST(Windows7)IP.gif_thumb
                VM(XP)NEtwork_adapter.gif
                VM(XP)NEtwork_adapter.gif_thumb

                1 Reply Last reply Reply Quote 0
                • D
                  dsagud
                  last edited by

                  and this

                  VM(XP)IP.gif
                  VM(XP)IP.gif_thumb
                  FreeBSD_for_PFSense_Network_adapters.gif
                  FreeBSD_for_PFSense_Network_adapters.gif_thumb
                  pfSense.gif
                  pfSense.gif_thumb

                  1 Reply Last reply Reply Quote 0
                  • Cry HavokC
                    Cry Havok
                    last edited by

                    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?

                    1 Reply Last reply Reply Quote 0
                    • D
                      dsagud
                      last edited by

                      @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.

                      ijijij.jpg
                      ijijij.jpg_thumb

                      1 Reply Last reply Reply Quote 0
                      • D
                        dsagud
                        last edited by

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

                        1 Reply Last reply Reply Quote 0
                        • Cry HavokC
                          Cry Havok
                          last edited by

                          @Cry:

                          Does pfSense have an Internet connection?

                          1 Reply Last reply Reply Quote 0
                          • D
                            dsagud
                            last edited by

                            @Cry:

                            @Cry:

                            Does pfSense have an Internet connection?

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

                            1 Reply Last reply Reply Quote 0
                            • Cry HavokC
                              Cry Havok
                              last edited by

                              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).

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

                                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

                                Vm_Network.png
                                Vm_Network.png_thumb

                                Bir umut olmasa bile Asla Pes Etme.

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