I set up my router to act like a switch. I gave it an ip address within in the subnet of my main router (router ip:192.168.1.1, tomato router[switch]: 192.168.1.61). After setting up open vpn, open vpn clients can connect to open vpn server. But, they can only pink my tomato router[switch] and my main router.
Open VPN: 10.8.0.0 [255,255,255,0]
Main: 192.168.1.0 [255,255,255,0]
Here are my tomato router[switch] routing rules:
Destination Gateway / Next Hop Subnet Mask Metric Interface
10.8.0.0 10.8.0.2 255.255.255.0 0 tun21
10.8.0.2 * 255.255.255.255 0 tun21
127.0.0.0 * 255.0.0.0 0 lo
192.168.1.0 * 255.255.255.0 0 br0 (LAN)
default 192.168.1.1 0.0.0.0 0 br0 (LAN)
When I do a trace to a lan machine, it gets to 10.8.0.1 but it stops there. I am thinking that the rule for 192.168.1.0 causes the request not to route to my main router. I added a static route to route all 192.168.1.0 to my main router [192.168.1.60], it works for vpn clients but then I can no longer ping my tomato router from within my lan. Can someone tell me what I am doing wrong?