Jump to content
Not connected, Your IP: 44.223.37.137

Recommended Posts

In the AirVPN router setups, there are guides for DD-WRT, Tomato, AsusWRT and pfSense, but there's nothing for OpenWrt, which I find unusual because it's the custom firmware with the largest community.

Do the current router guides work similarly for OpenWrt? Are there any differences worth knowing about?

Also, isn't the Tomato firmware on the AirVPN download page deprecated? I believe the current up to date fork is called FreshTomato.

Share this post


Link to post

Is still

On 5/15/2022 at 9:55 AM, sdcdata said:

Do the current router guides work similarly for OpenWrt? Are there any differences worth knowing about?


Yep is still similar, on openwrt for example,  u can set custom iptables configs in the

Firewall - Custom Rules

section

So, what u  find for Tomate should be also generally  work with openwrt.

U may also have an look onto the  user guides from openwrt: https://openwrt.org/docs/guide-user/start
 
On 5/15/2022 at 9:55 AM, sdcdata said:

Also, isn't the Tomato firmware on the AirVPN download page deprecated? I believe the current up to date fork is called FreshTomato.


Stick with the official Site then ure fine.
 

Share this post


Link to post
Posted ... (edited)

Edit!
For OpenWrt 21.02.3, here's a 4-step recipe;
1. Download an Airvpn config, selecting the Router Operating System. Select Resolved hosts in Advanced Mode.
2. Finish this how-to; https://openwrt.org/docs/guide-user/services/vpn/openvpn/client
To prevent DNS leaks,
3. Append the following to the /etc/dnsmasq.conf file of your WRT device;
     server=10.4.0.1
4. On your WRT device, edit the WAN interface. On the Advanced Settings tab, disable "Use DNS servers advertised by peer" and enter 10.4.0.1  under "Use custom DNS servers"

Edited ... by Aman Dagon
brevity & clarity

Share this post


Link to post
Posted ... (edited)
On 6/9/2022 at 8:52 PM, Aman Dagon said:

Edit!
For OpenWrt 21.02.3, here's a 4-step recipe;
1. Download an Airvpn config, selecting the Router Operating System. Select Resolved hosts in Advanced Mode.
2. Finish this how-to; https://openwrt.org/docs/guide-user/services/vpn/openvpn/client
To prevent DNS leaks,
3. Append the following to the /etc/dnsmasq.conf file of your WRT device;
     server=10.4.0.1
4. On your WRT device, edit the WAN interface. On the Advanced Settings tab, disable "Use DNS servers advertised by peer" and enter 10.4.0.1  under "Use custom DNS servers"

https://openwrt.org/docs/guide-user/services/vpn/openvpn/client-luci is the web based way to go. Works like a charm, even with AirVPN's ssh tunnel feature.✔️ Edited ... by Aman Dagon

Share this post


Link to post
On 6/24/2022 at 5:24 PM, Aman Dagon said:
https://openwrt.org/docs/guide-user/services/vpn/openvpn/client-luci is the web based way to go. Works like a charm, even with AirVPN's ssh tunnel feature.✔️

Would it be possible to set up in the same way if the OpenWRT device is configured as wireless bridge as described in https://openwrt.org/docs/guide-user/network/wifi/connect_client_wifi#connect_to_client_wi-fi_network ?

Th
ank you

Share this post


Link to post

Hi,

I am asking the question of the above post, since I have tried and not succeeded. Therefore, any help how to have AirVPN with OpenVPN on a wireless bridge OpenWRT will be appreciated.

Thank you in advance

Share this post


Link to post
On 6/9/2022 at 6:52 PM, Aman Dagon said:

Edit!
For OpenWrt 21.02.3, here's a 4-step recipe;
1. Download an Airvpn config, selecting the Router Operating System. Select Resolved hosts in Advanced Mode.
2. Finish this how-to; https://openwrt.org/docs/guide-user/services/vpn/openvpn/client
To prevent DNS leaks,
3. Append the following to the /etc/dnsmasq.conf file of your WRT device;
     server=10.4.0.1
4. On your WRT device, edit the WAN interface. On the Advanced Settings tab, disable "Use DNS servers advertised by peer" and enter 10.4.0.1  under "Use custom DNS servers"

On 6/9/2022 at 6:52 PM, Aman Dagon said:

Edit!
For OpenWrt 21.02.3, here's a 4-step recipe;
1. Download an Airvpn config, selecting the Router Operating System. Select Resolved hosts in Advanced Mode.
2. Finish this how-to; https://openwrt.org/docs/guide-user/services/vpn/openvpn/client
To prevent DNS leaks,
3. Append the following to the /etc/dnsmasq.conf file of your WRT device;
     server=10.4.0.1
4. On your WRT device, edit the WAN interface. On the Advanced Settings tab, disable "Use DNS servers advertised by peer" and enter 10.4.0.1  under "Use custom DNS servers"


Hi @Aman Dagon

I have tried with the following guide

and added your suggestion in 3. and 4. but I have lost internet connectivity ....
Do you know if there is any clear guide how to configure AirVPN in OperWRT with Luci, suitable for newbies like me?

Thank you in advance

Share this post


Link to post
Posted ... (edited)

@pipox9 Take a look at this video: 
 

https://www.youtube.com/watch?v=04q41GEPvKA

 

 


This channel has many other very good OpenWrt content. I'd recommend you use WireGuard instead of OpenVPN for performance reasons.

Going further, I'd recommend to use https://docs.openwrt.melmac.net/pbr/ if you want some traffic to go via clearnet and rest through VPN. There's a video showing how to setup it on that page. pbr guide recommends you start from a fresh OpenWrt installation, especially if you have made any significant modifications besides adding WiFi networks.

Just remember to backup your configuration before making any changes. It's a good idea to do frequent backups with short description what did you change in the filename. Edited ... by benfitita
Replace YT player with a link.

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...