ComputerCarl wroteProblem is, this just gets me onto the first LAN (VLAN 1)
First problem .. OpenVPN does not provide support or integration with
VLANs. So you will have to ask DD-WRT support for details on that.
However:
ComputerCarl wroteThe subnets are setup as follows:
VLAN 1 (management) - 172.16.1.1
VLAN 4 (Staff dept 1) - 172.16.2.1
VLAN 5 (Staff dept 2) - 172.16.4.1
VLAN 6 (Staff dept 3) - 172.16.6.1
VLAN 7 (Guest, do not want/need access to this VLAN) - 172.16.8.1
As I said, I can access the management VLAN no problem. When I switch the server mode in DD-WRT to Router (TUN), I am unable to connect at all to the VPN
With --
dev tun you are essentially trying to setup routing for subnets on the server side. That link I provided shows the steps you need to take to configure OpenVPN to provide the required routing. Be aware, openvpn only provides the linkage between end points and a mechanism (--route) to configure those end-points to support the desired routes. But this does not cover any further requirements outside of the openvpn environment. By the sound of your initial post, you need to learn how routing works and how to configure routers and other services to support this.