Jump to content
Not connected, Your IP: 18.219.18.238
D4raph

Configure Airvpn on Raspbmc (raspberri pi Xmbc distrib)

Recommended Posts

Hi,

 

I am trying to setup Airvpn on a Raspberry Pi, running the Raspbmc distribution.

 

I've found this post and followed the following steps to configure :

 

1/ Install opevnpn 

 sudo apt-get install openvpn

 

2/ Download the conf file *.ovpn generated on my airvpn web interface.

 

3/ Place it on the /etc/openvpn folder

 

4/ Rename it from *.ovpn to *.conf

 

5/ Restart

 

 

Now openvpn seem running fine (checked with "service openvpn status" command and I'm even able to see a connection on the airvpn web interface status.

 

But I'm not able to ping any site.

I discovered Raspbmc comes with its own iptables rules, so to test I've deleted all of them with the 

"iptables --flush" command.

 

But it'm still not able to ping anything.

 

Any idea where to look next ??

 

Thanks,

Share this post


Link to post

I'm also trying to setup raspbmc with airvpn. It appears the connection is ok (no error) and also this show up in airvpn status. But still not able to access the content I was expected. It is as if raspbmc app have not picked up the vpn somehow...

Share this post


Link to post

I ran into the same problems setting up OpenVPN on a Fritz!Box router, since they are using Linux. Your problem is, you forgot to configure iptables, OpenVPN does not do it on its own. You need to MASQUERADE traffic to tun0. If I remember it right, execute this command when you are connected to AirVPN:

iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...