Jump to content
Not connected, Your IP: 18.117.99.192
Sign in to follow this  
tommy83

Airvpn with openvpn routers (DD-WRT and so on)

Recommended Posts

Hi to everyone. Wishing to apply as a premium user, I wonder if it's possible to configure a router (i.e. a DD-WRT one with OpenVPN support) to support Airvpn on 2 or more Linux and/or Windows devices.

Is there any tutorial/example to do so?

Thank you very much.

Share this post


Link to post

tommy83 wrote:

Hi to everyone. Wishing to apply as a premium user, I wonder if it's possible to configure a router (i.e. a DD-WRT one with OpenVPN support) to support Airvpn on 2 or more Linux and/or Windows devices.

Is there any tutorial/example to do so?

Thank you very much. :)

Hello!

Yes, it is possible. From us you need configuration, certificate and key files. You can download them all through our generator, when you're premium member ("Member"-->"Access without our client").

After that, a good reference guide is here (check your DD-WRT version, though):

http://www.dd-wrt.com/wiki/index.php/VPN_%28the_easy_way%29_v24%2B

Kind regards

AirVPN admins

Share this post


Link to post

First I must say thank you very much for quick replying and for your help. :cheer:

So, in this scenario there's no need to install Openvpn on every client, need I?

I presume that all vpn traffic is between my router and your servers, my home LAN acts normally, right?

Thanks again

Share this post


Link to post

tommy83 wrote:

First I must say thank you very much for quick replying and for your help. :cheer:

So, in this scenario there's no need to install Openvpn on every client, need I?

I presume that all vpn traffic is between my router and your servers, my home LAN acts normally, right?

Thanks again

Hello!

Yes, correct. You don't need to install OpenVPN client on every node. With this configuration, remember that the connection between the router and your home nodes will not be encrypted by OpenVPN, of course (this is relevant only if you use the router with WiFi and no or low encryption - force WPA2).

Kind regards

AirVPN admins

Share this post


Link to post

I have a question regarding this as I also have a router capable of supporting OpenVPN. If the connection is between the router and your servers, I understand that OpenVPN will not need installed on the client machines, however what about airvpn.exe. Will it still need to be run from a client machine or is this all preconfigured by the config files you mentioned. Also, I do notice network slowness from using this (to be expected) and was wondering if it is easy to turn on/off when needed or to switch servers for various reasons?

Share this post


Link to post

sr71pyr0 wrote:

I have a question regarding this as I also have a router capable of supporting OpenVPN. If the connection is between the router and your servers, I understand that OpenVPN will not need installed on the client machines, however what about airvpn.exe. Will it still need to be run from a client machine or is this all preconfigured by the config files you mentioned. Also, I do notice network slowness from using this (to be expected) and was wondering if it is easy to turn on/off when needed or to switch servers for various reasons?

Hello!

You understand correctly and in that case there is no need to use airvpn.exe in the nodes behind the router since we provide everything the OpenVPN client needs (be it in a router or in any os): certificate, key and configuration files.

It is very easy to switch between various configurations, since you can generate as many of them as you wish and rename them according to your needs, so that you can jump from one server/port to another easily and quickly.

Network efficiency and load balance for the nodes behind your router will depend uniquely on your router itself. Our VPN server will see and serve just one node, with the bandwidth guaranteed for a single account.

Kind regards

AirVPN admins

Share this post


Link to post

It seems that I need some help to configure my router.

I managed to start vpn connection successfully (not without struggling a lot because of need to manually edit openvpn.conf file by console to set cipher mode). However "ifconfig" shows me correctly a tun0.

Problem is that my PC connected to router won't connect to the Internet. This is not a DNS issue, I can't ping any numeric internet address, only local network.

My config is: main ISP router ---> Linksys DD-WRT Router ---> PC

Probably it's a matter of iptables, but I haven't much skill in that field...

If Admin or anyone else can provide me some help... THANKS!

UPDATE: I MANAGED TO SUCCEED!!!

It seems that enabling STP option does the magic.

Hope that this info will be useful for other users.

Share this post


Link to post

tommy83 wrote:

UPDATE: I MANAGED TO SUCCEED!!!

It seems that enabling STP option does the magic.

Hope that this info will be useful for other users. ;)

Hello and thank you very much!

Kind regards

AirVPN admins

Share this post


Link to post

It seems that I was a bit optimistic. Today I can't navigate anymore. :ohmy:

From ifconfig I notice that there's no traffic from tun0.

Here's the command result:

br0 Link encap:Ethernet HWaddr 00:1C:10:xx:xx:xx

inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:8205 errors:0 dropped:0 overruns:0 frame:0

TX packets:7774 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:790182 (771.6 KiB) TX bytes:7512287 (7.1 MiB)

br0:0 Link encap:Ethernet HWaddr 00:1C:10:xx:xx:xx

inet addr:169.254.255.1 Bcast:169.254.255.255 Mask:255.255.0.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

eth0 Link encap:Ethernet HWaddr 00:1C:10:xx:xx:xx

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:11857 errors:0 dropped:0 overruns:0 frame:0

TX packets:11195 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:2211349 (2.1 MiB) TX bytes:8011317 (7.6 MiB)

Interrupt:4

eth1 Link encap:Ethernet HWaddr 00:1C:10:xx:xx:xx

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:29712

TX packets:1771 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 TX bytes:353070 (344.7 KiB)

Interrupt:2 Base address:0x5000

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1

RX packets:14 errors:0 dropped:0 overruns:0 frame:0

TX packets:14 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:816 (816.0 TX bytes:816 (816.0

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

inet addr:10.7.0.202 P-t-P:10.7.0.201 Mask:255.255.255.255

UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:10 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:100

RX bytes:0 (0.0 TX bytes:0 (0

vlan0 Link encap:Ethernet HWaddr 00:1C:10:xx:xx:xx

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:8205 errors:0 dropped:0 overruns:0 frame:0

TX packets:8211 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:823002 (803.7 KiB) TX bytes:7571351 (7.2 MiB)

vlan1 Link encap:Ethernet HWaddr 00:1C:10:xx:xx:xx

inet addr:192.168.0.7 Bcast:192.168.0.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:3654 errors:0 dropped:0 overruns:0 frame:0

TX packets:2985 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:1175021 (1.1 MiB) TX bytes:391416 (382.2 KiB)

br0 is my PC ethernet, vlan1 is lan between DD-WRT router and ISP router.

I've masked MAC address (notice that vlan1 MAC is different, as it must be).

Any ideas? In the meantime I'll try to reset and start from scratch.

Thanks

Share this post


Link to post

SOLVED (currently under test).

Again me writing... hope to not bother anyone, but I think that updating this thread

can, and will, definitely be useful for someone.

I upgraded my router DD-WRT firmware to "v24-sp2 SVN revision 16454" and now

everything seems to be functioning well. Plus, settings are correctly saved into flash.

Cheers to everyone

Share this post


Link to post

tommy83 wrote:

SOLVED (currently under test).

Again me writing... hope to not bother anyone, but I think that updating this thread

can, and will, definitely be useful for someone.

I upgraded my router DD-WRT firmware to "v24-sp2 SVN revision 16454" and now

everything seems to be functioning well. Plus, settings are correctly saved into flash.

Cheers to everyone ;)

Hello!

Of course it is very useful. Thank you again!

Kind regards

AirVPN admins

Share this post


Link to post

I find that I can connect, but after a few minutes my connection goes dead. I have to restart things. If this was after days, I'd understand, but this is after minutes. Doesn't seem stable enough for me to rely on this!

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
Sign in to follow this  

×
×
  • Create New...