Help: Private Internet Access openVPN - D-Link - DIR-632

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page 1, 2, 3  Next
Author Message
esamett
DD-WRT Novice


Joined: 14 May 2013
Posts: 12

PostPosted: Tue May 14, 2013 15:10    Post subject: Help: Private Internet Access openVPN - D-Link - DIR-632 Reply with quote
[Moved from main Atheros Thread - Sorry for mistake]



I have been trying for over a month to getting PIA openVPN to work. I have tried a couple DD-WRT builds. Router works fine as standard router. PIA tech support has been unsuccessful in working with me. I tried a custom script they sent me and their posted technique of filling in VPN fields via GUI- both unsuccessful. One technician told me that copy/paste doesn't work from Windows for entering the CA.CRT file. I have noticed that the CA.CRT has extra line breaks the original file does not have when I copy/paste. Running a configuration script via SSH did not yield a working VPN.

There was as recent post on the Atheros Thread about having success with "VPN" using a certain DD-WRT build but no details were revealed. Google has not revealed much to me about openVPN and my router.

Please post here if anybody has openVPN working on their DIR-632, particularly if they use the Private Internet Access VPN service. Perhaps you could post the EXACT technique and build that worked for you. A Configuration Backup file from the router would also be useful - please redact your login / password.

Thanks.
Sponsor
BasCom
DD-WRT Guru


Joined: 29 Jul 2009
Posts: 1378
Location: Germany

PostPosted: Tue May 14, 2013 17:24    Post subject: Reply with quote
https://www.privateinternetaccess.com/pages/client-support/#ddwrt_pptp

??

_________________
RT-N66U @ Build 25697M K3.10.63
TL-WR842ND v1 @ BS-build 23919 WDS AP
TL-WR841ND @ BS-build 23919 WDS Client
TL-WR841ND @ BS-build 23919 Client Bridge ( Routed )
esamett
DD-WRT Novice


Joined: 14 May 2013
Posts: 12

PostPosted: Wed May 15, 2013 14:03    Post subject: Reply with quote
Thanks for reply. Unfortunately I can't get this to work. The first thing the support people told me was that the technique wouldn't work and I had to SSH into the router and that there was something wrong with copy/paste of ca.crt from windows environment.....nothing so far has worked for me.

N008
BasCom
DD-WRT Guru


Joined: 29 Jul 2009
Posts: 1378
Location: Germany

PostPosted: Wed May 15, 2013 14:14    Post subject: Reply with quote
just print your openvpn log.
_________________
RT-N66U @ Build 25697M K3.10.63
TL-WR842ND v1 @ BS-build 23919 WDS AP
TL-WR841ND @ BS-build 23919 WDS Client
TL-WR841ND @ BS-build 23919 Client Bridge ( Routed )
esamett
DD-WRT Novice


Joined: 14 May 2013
Posts: 12

PostPosted: Wed May 15, 2013 15:13    Post subject: Reply with quote
N008
I don't know what I did wrong but I can't find the logs anymore. Is there a setting to turn them on??

thanks.
BasCom
DD-WRT Guru


Joined: 29 Jul 2009
Posts: 1378
Location: Germany

PostPosted: Wed May 15, 2013 15:16    Post subject: Reply with quote
then your ovpn may not start.

look /var/log or webgui -> status -> openvpn

_________________
RT-N66U @ Build 25697M K3.10.63
TL-WR842ND v1 @ BS-build 23919 WDS AP
TL-WR841ND @ BS-build 23919 WDS Client
TL-WR841ND @ BS-build 23919 Client Bridge ( Routed )
esamett
DD-WRT Novice


Joined: 14 May 2013
Posts: 12

PostPosted: Wed May 15, 2013 15:50    Post subject: Reply with quote
log not seen. see attached imaged please.

will check back for reply after work.

thank you.

e
BasCom
DD-WRT Guru


Joined: 29 Jul 2009
Posts: 1378
Location: Germany

PostPosted: Wed May 15, 2013 16:06    Post subject: Reply with quote
then no log has been written. -> no ovpn start
_________________
RT-N66U @ Build 25697M K3.10.63
TL-WR842ND v1 @ BS-build 23919 WDS AP
TL-WR841ND @ BS-build 23919 WDS Client
TL-WR841ND @ BS-build 23919 Client Bridge ( Routed )
esamett
DD-WRT Novice


Joined: 14 May 2013
Posts: 12

PostPosted: Wed May 15, 2013 18:33    Post subject: Reply with quote
Noob?
I don't understand ovpn start comment. I googled the phrase. What should I do to çomply?

Thanks
BasCom
DD-WRT Guru


Joined: 29 Jul 2009
Posts: 1378
Location: Germany

PostPosted: Wed May 15, 2013 18:49    Post subject: Reply with quote
no log, no openvpn has been started.
_________________
RT-N66U @ Build 25697M K3.10.63
TL-WR842ND v1 @ BS-build 23919 WDS AP
TL-WR841ND @ BS-build 23919 WDS Client
TL-WR841ND @ BS-build 23919 Client Bridge ( Routed )
esamett
DD-WRT Novice


Joined: 14 May 2013
Posts: 12

PostPosted: Thu May 16, 2013 1:41    Post subject: very puzzled. images attached. Reply with quote
I followed the instructions you linked to above, reflashed to the r20548 firmware referred to in the wiki dir-632. I tried syslogd enabled and disabled in case it did anything. it didn't. I cannot see log. Can you find my error in the attached images?

evan
esamett
DD-WRT Novice


Joined: 14 May 2013
Posts: 12

PostPosted: Thu May 16, 2013 1:44    Post subject: Reply with quote
image 4,5,6
esamett
DD-WRT Novice


Joined: 14 May 2013
Posts: 12

PostPosted: Thu May 16, 2013 1:45    Post subject: Reply with quote
image 7,8

images may be out of sequence as I added them in order.
BasCom
DD-WRT Guru


Joined: 29 Jul 2009
Posts: 1378
Location: Germany

PostPosted: Fri May 17, 2013 13:00    Post subject: Reply with quote
mh why have you services > pptp > openvpn selected AND do start it in STARTUP ? telnet into router and look, if openvpn is running. put also ifconfig.
_________________
RT-N66U @ Build 25697M K3.10.63
TL-WR842ND v1 @ BS-build 23919 WDS AP
TL-WR841ND @ BS-build 23919 WDS Client
TL-WR841ND @ BS-build 23919 Client Bridge ( Routed )
esamett
DD-WRT Novice


Joined: 14 May 2013
Posts: 12

PostPosted: Sun May 19, 2013 15:41    Post subject: Reply with quote
I started (I think) with default DD-WRT router settings, set IP and time server then followed the private internet access instructions below. Do you think there are other settings active than these? Did I make error or is there a bug? should I go back to factory firmware and reinstall DD-WRT?

thanks

https://www.privateinternetaccess.com/pages/client-support/#ddwrt_openvpn

Private Internet Access Instructions: DD-WRT: VPN OpenVPN Setup

Access the Administration area and then go to Commands and finally Startup.
Enter the following:
echo username >> /tmp/password.txt
echo password >> /tmp/password.txt
/usr/bin/killall openvpn
/usr/sbin/openvpn --config /tmp/openvpncl/openvpn.conf --route-up /tmp/openvpncl/route-up.sh --down-pre /tmp/openvpncl/route-down.sh --daemon
Access the VPN tab found under the Services section.
Enable the OpenVPN Client.
Set the Server IP/name to us-texas.privateinternetaccess.com [*].
Set the Port to 1194.
Set the Tunnel Device to TUN.
Set the Tunnel Protocol to UDP.
Set the Encryption Cipher to Blowfish CBC (Default).
Set the Hash Algorithm to SHA1.
Set the nsCertType to unchecked.
Set the Advanced Options to Enabled.
Set Use LZO Compression to Enable.
Set NAT to Enable.
In the Additional Config enter the following:
auth-user-pass /tmp/password.txt
persist-key
persist-tun
tls-client
remote-cert-tls server
Copy and paste the contents of ca.crt found in our OpenVPN Config Files, into the CA cert field.
Goto page 1, 2, 3  Next Display posts from previous:    Page 1 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum