Need help with pfsense vlan configuration

selim85

New Member
Mar 30, 2024
2
0
1
Hey all,
I just installed proxmox on one of my computers and installed Pfsense. It seems to working perfectly fine but having a hard getting vlans to work. The vlans (vlan 60, 70, 80) are created on pfsense and dhcp is turned on for each vlan, and also the rules for default route is created for regular traffic.

My setup is like this:
router > (wan) - pfsense - (lan) > switch TL-SG108E

So the lan port is connected to port 1, and the computer is connected to port 2 of switch. I essentially want port 1 to be the main port/traffic for all my vlans.
I go to switch setup and tag port 1 and untag port 2 for vlan 60. I also set PVID to 60 for port 2; however, its not working. I also tried removing port 2 from vlan 1 but didn't help.

Do i need to configure anything else on Proxmox or pfsense? Am i missing anything? Can you please explain it in a simple way so that I can understand it?
 
More information required.
Are you passing through NICs? What does your /etc/network/interfaces look like?

So the lan port is connected to port 1, and the computer is connected to port 2 of switch. I essentially want port 1 to be the main port/traffic for all my vlans.
I go to switch setup and tag port 1 and untag port 2 for vlan 60. I also set PVID to 60 for port 2; however, its not working. I also tried removing port 2 from vlan 1 but didn't help.
Still not fully clear to me whats connected to what with which VLAN settings.
 
So the WAN interface of pfsense is connected to my ISP and the LAN interface of pfsense is connected to switch (port 1).
The VLANS are created using the LAN interface of PfSsense... I mainly want port 1 of switch to be main port that brings traffic to the multiple networks/vlans.

Code:
auto vmbr0
iface vmbr0 inet static
        address 192.168.1.10/24
        gateway 192.168.1.1
        bridge-ports enp2s0
        bridge-stp off
        bridge-fd 0


auto vmbr1
iface vmbr1 inet manual
        bridge-ports enp1s0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!