What I'd like to do is to build a VPN between two OpenWRT boxes.
At the moment I'm running Attitude Adjustment 12.09-rc1 on both sides as one of the two boxes is not supported yet by Backfire 10.03.1.
I have followed the tutorial mentioned in the main post, with the needed changes as per 12.09-rc1.
My setup is "Two networks - routed". On the pptpd server box I have installed all the needed packages.
Then I've manually changed the needed configuration files.
/etc/pptpd.conf
#debug
option /etc/ppp/options.pptpd
speed 115200
stimeout 10
#localip & remoteip are not needed, ip management is done by pppd
localip 192.168.253.254
with 192.168.253.254 being my box LAN ip address.
/etc/ppp/options.pptpd
debug
logfile /tmp/pptp-server.log
auth
name "pptp-server"
lcp-echo-failure 3
lcp-echo-interval 60
default-asyncmap
mtu 1482
mru 1482
nobsdcomp
nodeflate
mppe required,no40,no56,stateless
require-mschap-v2
refuse-chap
refuse-mschap
refuse-eap
refuse-pap
/etc/ppp/chap-secrets
avpn * avpn 192.168.253.253
All comments have been expunged for the sake of brevity.
Then I've followed the instructions in order to allow the traffic for TCP:1723 and IP:47 in and to create the virtual interface VPN and the VPN firewall zone.
First of all, the command
doesn't work as the system says "Interface vpn not found". Then I have rebooted the server box. Behind the PPTPd box I've put a machine answering to SSH and PING on 192.168.253.1.
I can connect my PC to the PPTPd server. I can ping the server local IP (192.168.253.254). But nothing else.
Because the remote end of the VPN will get an IP on the same subnet as the LAN, I've manually added also proxyarp to /etc/ppp/options.pptpd. With no luck.
Is there any hint on how to troubleshoot this setup?
Is there anyone who successfully did it already?
TIA.
P.S.
Is it possible it's a bug in the version I'm running?
The same PC can connect to a DD-WRT box through PPtP.
(Last edited by uqbar on 26 Dec 2012, 23:58)