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

    Pfsense on Debian Libvirt and one NIC

    Scheduled Pinned Locked Moved Virtualization
    4 Posts 2 Posters 659 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.
    • J
      john24634
      last edited by

      Hello, All,

      I wanted to install pfSense on Debian (Cockpit) using Libvirt and utilizing only one NIC.

      However not sure how to setup the VM network:
      6cda828d-f22a-4979-b193-319fc873f329-image.png

      Any suggestions?

      Thanks

      1 Reply Last reply Reply Quote 0
      • J
        john24634
        last edited by

        as reference:
        https://wiki.libvirt.org/VirtualNetworking.html

        J 1 Reply Last reply Reply Quote 0
        • J
          john24634 @john24634
          last edited by

          I have the WAN (modem eth) on Vlan99

          Any suggestions? Will it work or the only option is to have 1/2 extra NIC.

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @john24634
            last edited by

            @john24634
            So you might want to be able to communicate with the outside world without limits.

            So you should create a bridge in Debian first and then connect the VM to the bridge.

            NAT means that the VM is on another subnet and the host nats the traffic.
            Isolated means that the subnet cannot talk to the outside world, but only to other VMs, which are connected to the same virtual network.

            Consider that you can add multiple virtual interface to the VM even if you have only a single physical NIC. For instance an isolated network to communicate with other VMs.

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