I've got my tomato router connected with openVPN and it works like a charm. However I'd like to set up a guest wifi network and route it through the VPN and that's where I get stuck. It's likely something with the routing table but I'm not experienced enough to figure out how to sort it out.
The guest network works fine and can connect to the internet providing the openVPN tunnel is inactive and the LAN:s doesn't see each other either so so far so good. But as soon as I connect the openVPN tunnel the guest network can't access internet any more at all. In the openvpn client config I've got "create NAT on tunnel" as per the guide from the VPN-provider.
Current setup: E4200 with tomato.
WanIP: 192.168.1.20 (WAN connected to another router supplied by ISP)
br0 IP-range 192.168.12.2 -254
br1 IP-range 10.0.0.2 -254
Advanced -> Wireless:
Interface Enabled SSID Mode Bridge
eth1 (wl0) Yes PrivateNetwork Access Point LAN (br0)
eth2 (wl1) Yes PrivateNetwork Access Point LAN (br0)
wl0.1 Yes GuestNetwork Access Point LAN1 (br1)
i.e: eth1 (wl0) is the 2,4Ghz and eth2 (wl1) is 5,0Ghz
Advanced -> VLAN
1 1 Yes Yes Yes Yes * LAN (br0)
2 2 Yes WAN
3 3 LAN1 (br1)
Bridge eth1 to LAN(br0)
Bridge eth2 to LAN(br0)
Bridge wl0.1 to LAN(br1)
Advanced -> Current routing table (with openVPN client running tap11)
Destination Gateway / Next Hop Subnet Mask Metric Interface
192.168.1.1 * 255.255.255.255 0 vlan2 (WAN)
184.108.40.206 192.168.1.1 255.255.255.255 0 vlan2 (WAN)
220.127.116.11 * 255.255.255.224 0 tap11
192.168.12.0 * 255.255.255.0 0 br0 (LAN)
10.0.0.0 * 255.255.255.0 0 br1 (LAN1)
192.168.1.0 * 255.255.255.0 0 vlan2 (WAN)
127.0.0.0 * 255.0.0.0 0 lo
default 18.104.22.168 22.214.171.124 0 tap11
126.96.36.199 188.8.131.52 184.108.40.206 0 tap11
default 192.168.1.1 0.0.0.0 0 vlan2 (WAN)
Is there anything I need to add in the routing table to get the guestwifi working? Pointers?
Thanks in advance and all the best!