|Author: Posted: 10/6/2012 2:57:00 PM|
Sorry to say that VPN is still not working :( I'm using 126.96.36.199.220.18 (Merlin build).
I cleared the log and tried to connect using my phone. It failed. There's nothing added to the log.
Next I simply clicked "apply" on the VPN screen. No user added cos there's already one in there.
Now this is added to the log:
Oct 6 08:47:07 notify_rc : restart_pptpd
Oct 6 08:47:07 pptpd: MGR: Config file not found!
Oct 6 08:47:07 pptpd: MGR: Maximum of 100 connections reduced to 10, not enough IP addresses given
Oct 6 08:47:07 pptpd: accel-pptpd-0.8.5 compiled for pppd-2.4.5, linux-188.8.131.52
Oct 6 08:47:07 start_nat_rules: apply the nat_rules!
Oct 6 08:47:07 pptpd: MGR: Manager process started
Oct 6 08:47:07 pptpd: MGR: Maximum of 10 connections available
I connect one more time with my phone and it connects.
Now this is added:
Oct 6 08:49:20 pptpd: CTRL: Client 184.108.40.206 control connection started
Oct 6 08:49:20 pptpd: CTRL: Starting call (launching pppd, opening GRE)
Oct 6 08:49:21 pptp: Plugin pptp.so loaded.
Oct 6 08:49:21 pptp: PPTP plugin version 0.8.5 compiled for pppd-2.4.5, linux-220.127.116.11
Oct 6 08:49:21 pptp: pppd 2.4.5 started by admin, uid 0
Oct 6 08:49:21 pptp: Using interface ppp10
Oct 6 08:49:21 pptp: Connect: ppp10 <--> pptp (18.104.22.168)
Oct 6 08:49:27 pptp: MPPE 128-bit stateless compression enabled
Oct 6 08:49:30 pptp: Cannot determine ethernet address for proxy ARP
Oct 6 08:49:30 pptp: local IP address 192.168.1.1
Oct 6 08:49:30 pptp: remote IP address 192.168.10.11
To me it seems although the interface shows that the pptp service is running (I clicked the tab VPN Status where it says "PPTP VPN Server - Running"), it is not running. Otherwise it say "pptp.so loaded". Or am I wrong?
Based on this log, your VPN is working just fine. Your problem is most likely with the routing as seen in the two last lines of that log. Your LAN uses the 192.168.1.0/24 network, while your VPN clients are using the 192.168.10.0/24 client. You can't route the two segments unless you setup a route on the client, or you change your VPN clients to also use the 192.168.1.0/24 network.
Best is to modify the DHCP range to only handle 192.168.1.2-192.168.1.199, then configure VPN clients to allocate address in the 192.168.1.200 to 192.168.1.210 range. That way VPN clients will be able to directly route to your LAN.