1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

VPN and WAN routing

Discussion in 'HyperWRT Firmware' started by hypermood, Jan 4, 2007.

  1. hypermood

    hypermood LI Guru Member

    Using Thibor 16,a,b and experimenting with the VPN server, I cannot get the VPN clients to see the local lan (local to the router). There is no problem with VPN clients accessing the internet through the VPN. I guessing that there needs to be an iptables rule to allow the forwarding to occur from the ppp1 interface to the local (ppp0 is used for the dsl modem).

    Local lan is 10.0.0.0/8 with the router as 10.0.0.1 and 10.0.0.50 as the VPN server. The local lan consists of static DHCP lease clients all wireless and all below 10.0.0.50 so there is no address collision going on.

    Remote Lan is 192.168.1.0/8 and a client gets a 10.0.0.51 VPN client address (for example). VPN clients do not get responses to pings from the VPN server at 10.0.0.50 or any address on the lan and cannot connect to any address on the lan (for clarity the lan here is the 10.0.0.0/8 lan behind the router). They can connect to addresses on the Internet, and I have verified that the traffic is being routed through the VPN since clients appear to come from the VPN router at showmyip.com. VPN clients can also ping Internet addresses. Interestingly the VPN clients do respond to pings from hosts on the 10.0.0.0/8 network.

    Any ideas? I'd really like to get rid of the windows box that I have running as a ppp server and use pptpd on the router.
     

Share This Page