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

    Pfsense in Proxmox and VLANs. Firewalling issues?

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 1 Posters 744 Views 1 Watching
    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.
    • sensei-twoS Offline
      sensei-two
      last edited by sensei-two

      I had set up this network. pfSense ran (and still) as a VM in Proxmox, and everything worked fine:

      Proxmox01.jpeg

      Then, for learning purpose, I rearranged it and created VLANs.

      In order to make it as simple as possible, I decided to create two VLANs only (VLAN10 and VLAN20)

      I set up VLANs in pfSense first:

      intervlan.jpg

      vlan.jpg

      then I tagged a VM's network device (My Windows VM in Proxmox in this case):

      tag windows VM.jpg

      For VLAN10, I set 192.168.10.0/24 as its network in pfsense and also set a dhcp server for it. Ok, it works perfectly. The Windows VM got its IP and can access internet. Great!

      I got a little problem though.
      From my Windows VM I can ping a PC in my real physical network, but I can ping it back from my PC.
      However, I can ping the VLAN gateway 192.168.10.1 either from my external PC and from my physical external router via its terminal as well.

      There must be a problem with the pfsense firewall, but I wasn't able to figure it out even though I already had set a WAN rule in pfSense

      regole firewall intere.jpg

      Before moving my Windows VM on VLAN10 (PRIVATE), it was in the LAN network, and I could ping it from my external physical pc, and I could even open a Remote desktop from my PC (192.168.3.100) to the Windows VM. I past-copied the LAN-net rule to create the PRIVATE-net rule, but it still doesn't work.
      Could anyone help me figure why I can't ping the Windows VM from my external PC?
      Thanks

      sensei-twoS 1 Reply Last reply Reply Quote 0
      • sensei-twoS Offline
        sensei-two @sensei-two
        last edited by sensei-two

        This is strange. I restarted all my devices this morning, I tried it again, and it turned out that I can now open a Remote Desktop session from my external PC to my Windows VM in Proxmox in VLAN10, but I still can't ping it!

        UPDATE

        I FIXED IT!!

        It was the Windows firewall..that bastard :-)

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