[SOLVED] Connecting from OpenVPN server subnet to VLAN’s
-
When I connect to my home network via OpenVPN server I can connect to the primary LAN network (10.0.1.0/24) but not to any of the VLAN’s (10.0.30.0/24 for example). OpenVPN uses 10.0.20.0/24.
There aren’t any block rules on the firewall to prevent access so I’m guessing there must be something that needs to be configured in OpenVPN??? Could use some help with this.
-
@wgstarks did you add all your vlans to your local networks? Are you routing all traffic through the vpn?
You either need to route all traffic through the vpn, or you need to tell the vpn client which networks are accessed via the vpn.
You also need to make sure that your hosts on these vlans if running firewall allow for your tunnel network to talk to it.
-
@johnpoz said in Connecting from OpenVPN server subnet to VLAN’s:
You either need to route all traffic through the vpn, or you need to tell the vpn client which networks are accessed via the vpn.
That got it. I knew there had to be something to configure which networks were accessible, just didn’t really know what I was looking for. Thanks for the screenshot.
-
@johnpoz
Can I use an alias in place of the list of networks? -
@wgstarks said in [SOLVED] Connecting from OpenVPN server subnet to VLAN’s:
@johnpoz
Can I use an alias in place of the list of networks?Nevermind. I see it in the fine print.