Jump to content

PIA Open VPN


g1eagle

Recommended Posts

Alright, so I've managed to get OpenVPN to work on the Nano.. I even managed to get it to connect to PIA.

However the moment the connection establishes I lose the internet. I'm pretty sure this is a routing issue. 

But I'm unsure of what I need to add to the config file to fix the issue upon connecting. This is the result of the IP config table after it establishes a connection. 

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.24.10.5      128.0.0.0       UG    0      0        0 tun0
default         192.168.2.5     0.0.0.0         UG    0      0        0 wlan1
10.24.10.1      10.24.10.5      255.255.255.255 UGH   0      0        0 tun0
10.24.10.5      *               255.255.255.255 UH    0      0        0 tun0
128.0.0.0       10.24.10.5      128.0.0.0       UG    0      0        0 tun0
162.216.46.86   192.168.2.5     255.255.255.255 UGH   0      0        0 wlan1
172.16.42.0     *               255.255.255.0   U     0      0        0 br-lan
192.168.2.0     *               255.255.255.0   U     0      0        0 wlan1
192.168.2.5     *               255.255.255.255 UH    0      0        0 wlan1
 

I would like to connect to the router using Wan1, and then connect to Wan0 with my laptop or other internet devices during traveling and still run my traffic over an encrypted VPN. 

any suggestions?

 

Link to comment
Share on other sites

Kdodge

I ran the command before and after I connected the VPN. The command gave no output either time. 

3 hours ago, kdodge said:

can you run this command and post the output?


# iptables-save | grep -e FORWARD -e POSTROUTING

 

 

Link to comment
Share on other sites

  • 1 month later...

@g1eagle can you please explain

1. How you got openvpn working on the nano?
In Darren's video he does ssh into the pineapple then " wget http://swupdate.openvpn.org/as/openvpn-as-2.1.1-Ubuntu14.amd_64).deb" onto the pineapple.

then uses 'dpkg' while ssh'd into the pineapple -- only problem is dpkg is not part of the installed applications on the pineapple, only 'opkg' is which doesn't install the deb file...so confused as to how he got that file installed.

when I enter:

dpkg -i openvpn-as-2.1.1-Ubuntu14.amd_64.deb

I get:
-ash: dpkg: not found

ANY HELP WOULD BE APPRECIATED!

2.What process did you follow to get PIA working?
I can't seem to get the config file loaded, although it could just be because openvpn's deb file isn't installed.
When I enter openvpn as a command it seems to recognize it as an installed application though - but I can't call up help, it says "Usage message not available"

 

If anyone can point me in the right direction I would appreciate it!:huh:

HN

 

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...