Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
OPNSense Inter-VLAN Routing - Can't get VLANs to Communicate?
« previous
next »
Print
Pages: [
1
]
Author
Topic: OPNSense Inter-VLAN Routing - Can't get VLANs to Communicate? (Read 13887 times)
Servergeek
Newbie
Posts: 5
Karma: 0
OPNSense Inter-VLAN Routing - Can't get VLANs to Communicate?
«
on:
October 18, 2021, 05:38:51 pm »
So basically I am trying to set up router-on-a stick between a few vlans to segment my network. I have 5 vlans, each is tagged and working through OPNSense. However, I cannot get the interfaces to communicate with eachother.
Basically I have 5 vlans:
VLAN 1 - Default, use for management basically
VLAN 2 - Servers VLAN, going to eventually have all my servers on it
VLAN 3 - Devices VLAN, basically all the normal computer systems on my network
VLAN 4 - IOT Vlan, for any other devices
VLAN 5 - WAP Vlan - going to be all my Wireless access points
VLAN 10 - WAN (Of course want to be separated through firewall)
I can probably do the routing with my switch (Procurve 6600-48g) but I would like to be able to set up firewall rules to block specific traffic between some of the VLANs. (Will eventually do that later)
Basically for right now I want them to all be able to communicate with each other, but no matter what I do I can't ping devices on different VLANs, but the VLANs have access to the internet. Do I need to set up rules to allow communication? I've tried a few different things, like passing out and in from the different interfaces but no matter what configuration I tried I can't get it to work.
Logged
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: OPNSense Inter-VLAN Routing - Can't get VLANs to Communicate?
«
Reply #1 on:
October 18, 2021, 06:54:05 pm »
You just need to set-up rules for each VLAN.
I have three VLANs, pretty small. My Primary VLAN, an IOT VLAN and Server VLAN. Only the primary can access to the other VLANs, they cannot access to the primary. So in the IOT VLAN and Server VLAN I have a rule that allows access from the Primary.
So add the rule as follows:
Action: Pass
Quick: Selected
Interface: IOT
Direction: In
TCP Version: IPv4
Source: Primary_Lan net
Destination: Any
That's it.. should work.
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
Servergeek
Newbie
Posts: 5
Karma: 0
Re: OPNSense Inter-VLAN Routing - Can't get VLANs to Communicate?
«
Reply #2 on:
October 18, 2021, 07:27:54 pm »
So I tried that, but still can't ping a device from the serversVLAN to the LAN or from the LAN to the ServersVLAN.
The only thing that sorta worked was making a floating rule allowing traffic in any direction from all the LAN side interfaces. That allowed pinging devices on LAN network from ServersVLAN but not vise-versa.
Logged
skydiver
Newbie
Posts: 26
Karma: 0
Re: OPNSense Inter-VLAN Routing - Can't get VLANs to Communicate?
«
Reply #3 on:
July 08, 2023, 05:07:32 am »
Did you ever get this figured out? I am having a similar issue
Logged
kripa
Newbie
Posts: 6
Karma: 0
Re: OPNSense Inter-VLAN Routing - Can't get VLANs to Communicate?
«
Reply #4 on:
July 17, 2023, 10:29:55 pm »
Even i have similar issue .Did you find any solution for it
Logged
skydiver
Newbie
Posts: 26
Karma: 0
Re: OPNSense Inter-VLAN Routing - Can't get VLANs to Communicate?
«
Reply #5 on:
July 25, 2023, 08:53:56 pm »
I ended up deleting all interfaces and assignments and started adding them back one at a time
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
OPNSense Inter-VLAN Routing - Can't get VLANs to Communicate?