Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
OpenVPN will not route VLAN subnets
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpenVPN will not route VLAN subnets (Read 431 times)
frudda
Newbie
Posts: 13
Karma: 0
OpenVPN will not route VLAN subnets
«
on:
June 12, 2024, 05:08:25 pm »
Hello!
I have a question if someone of you know a good way to resolve this issue.
OpenVPN will not route VLAN subnets but the VPN is working fine on the LAN subnet which is not a VLAN.
I do use TUN.
I tried to pass everything in firewall but nothing works. Is this impossible? :'(
Logged
frudda
Newbie
Posts: 13
Karma: 0
Re: OpenVPN will not route VLAN subnets
«
Reply #1 on:
June 12, 2024, 06:41:03 pm »
The Open VPN server runs internally on Opnsense box.
I saw some people talk about creating a bridge with OPNsense interface and vlan, is this the way to go?
Logged
frudda
Newbie
Posts: 13
Karma: 0
Re: OpenVPN will not route VLAN subnets
«
Reply #2 on:
June 13, 2024, 04:35:20 pm »
Hello.
I resolved this issue by setting correct gateway in DHCP mode of the VLANS in OPNsense
But this wasnt the brainer, still could not access the VLANS or the switch IP
I changed the aruba switch static ip on vlan1 to be in the same subnet range as OPENsense LAN
no ip dhcp on the vlan 1 first.
I had to set a route 0.0.0.0 in the aruba switch to OPNsense LAN gateway.
Now i can access all VLANS and none VLANS through OpenVPN client without any problems.
I can also access the switch from webgui and ssh from VPN client
«
Last Edit: June 13, 2024, 04:58:42 pm by frudda
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
OpenVPN will not route VLAN subnets