GL-AR150 with 2.13 Firmware.. openvpn app not working

just tested at home again … it is actually working:
<table width=“240” cellspacing=“0” cellpadding=“0”>
<tbody>
<tr>
<td class=“content-td1”>IP Address</td>
<td width=“5”></td>
<td class=“content-td2”>104.36.87.164</td>
</tr>
<tr>
<td class=“content-td1”>Hostname</td>
<td width=“5”></td>
<td class=“content-td2”>104.36.87.164</td>
</tr>
<tr>
<td class=“content-td1”>City</td>
<td width=“5”></td>
<td class=“content-td2”>Dallas</td>
</tr>
<tr>
<td class=“content-td1”>State (Code)</td>
<td width=“5”></td>
<td class=“content-td2”>Texas</td>
</tr>
<tr>
<td class=“content-td1”>Country</td>
<td width=“5”></td>
<td class=“content-td2”>United States (US) United States</td>
</tr>
<tr>
<td class=“content-td1”>Provider</td>
<td width=“5”></td>
<td class=“content-td2”>Cubemotion Llc</td>
</tr>
</tbody>
</table>
 

just finchvpn is not really fast or reliable :slight_smile:

so thanks for the help …

still wondering though, if with this setup i have now i can easily change the connections by doing

  • did all finch vpn steps but slightly modified according to the "other" server
  • continued with steps 4+5
cheers :)

 

@ramasamy, pls update the firmware to newest. 2.12 have this problems.

@speedy, the firmware I mentioned are a little outdated so we didn’t publish them. We suggest that you use paid vpn, FinchVPN has paid account. It is is not too expensive. If you use free service, you cannot do anything if it is not reliable. If you use paid service, you can call them and complain.

ok thanks, will give it a try and update again

@ramasamy, upgrade the firmware online. Use the webUI, there should be a “New” icon on the lower-left corner, click it, download and install the newest firmware.

@alzhao, you are a legend

i’m able to install the openvpn package

i will go and tame a snail on your behalf

@alzhao

is it possible to have a openvpn firmware that has already included the steps above?

if yes, how should i go about it?

what i have in mind is something like this

if not, is something like this possible on the stock 2.13 firmware?

https://www.dd-wrt.com/wiki/index.php/Startup_Scripts#Web_Interface_Method_of_Loading_Scripts_onto_Router

 

I do not think asking GLI to include OpenVPN is reasonable. While there are really only 2 files required (OpnVPN-SSL and OpneVPN-Luci) there are too many configurations, indeed unlimited configurations. OpenWrt has been struggling with the Luci GUI for this (was not in BB). I personally think that the GUI is too complex, and use the WinSCP text editor (just like notepad) to edit OpenVpn scripts.

I think some of the basics are reasonable to put a framework around however.

Server or Client
Client -
The majority of the people will want to use the travel router as a client, not server, and probably will want to connect to some type of service for internet access. To do this requires an Interface, Firewall rules, and an OpenVPN script. For the application, the first 2 items will probably be similar, and maybe the same for a given protocol (TUN vs TAP), though most of the providers are TUN. What will change is the Openvpn script. At a minimum there will be differences by provider. There may be differences by provider by location. I do not think it is reasonable to ask GLI to maintain these scripts.

See my network and firewall below.

Server -
For those like myself who are more concerned about accessing files on the road a Server\Client is needed. The complexity rises. It’s much more difficult to optimize a consumer device to act as a server (as opposed to using relatively “big iron”) for encryption. It’s really tough to find the “sweet spot” between cipher, encryption, packet size, etc. on a small device. And then match it to a client.

Indeed a server client requires unique code for both devices, where as using a service is mostly tweaking a predefined, though maybe hard to get, script.

This discussion is pure OpenWRT. The best place for scripts are as Wiki Pages on the OpenWRT site, as they are really hardware independent. Some are available on line already through the providers (pay sites mostly) and others may be found in the forum. There are Linux versions in some case which may or may not directly translate to OpenWrt format, as I as I understand it not ALL commands are supported in OpenWrt, but that’s probably not a concern more all but the most advanced user.

If GLI wants to host these as Blog posts that’s fine, but I think they will get lost in the Forum.

I want the GLI team to focus on hardware and improving their existing GUI. New functions with a more narrow set of options are OK if they can benefit a wide enough user base, but I’m not seeing many. I think improving the ability of the device to be able to mage STAtion connections (drop a missing AP, store\search frequently used APs) is a problem which plagues users of this device class that are mobile, and an example of a better use of their dev effort…

OpenVPN Resources
HOWTO index by subject [Old OpenWrt Wiki] find VPN
[OpenWrt Wiki] OpenVPN client Client - TUN
OpenVPN client with TAP (Layer 2) device [Old OpenWrt Wiki] Client - TAP
[OpenWrt Wiki] docs:guide-user:services:vpn:openvpn:basic - Scroll to the bottom
How To Guide: Set Up & Configure OpenVPN Client/server VPN | OpenVPN
OpenVPN on OpenWRT - A little more detail » Articles » Frog is Wrong (seems to be dead, but was a great article)

PS: I will agree that there is need for a simple to understand (NOT UCI) wiki for those wanting to use OpenWrt OpenVpn to connect to a service.

My ‘network’ has this in it:
config interface ‘OpenVPN’
option proto ‘none’
option ifname ‘tap0’

My ‘firewall’ is attached.

I am on a TAP config with my own server. I can not guarantee that this will work for others, but it’s a start.

I do have a firmware. Let me test it again before sending to you.

Hi alzhao …I would be very grateful for that openvpn firmware for ar150. :slight_smile:

@RangerZ

I’m really sorry, my intention was just to learn on how to create my own firmware.

Anyway I might just create an ipk file which has all the scripts and let the user activate it through browser

System > StartUp > Local StartUp

 

 

@kupusamy. nothing to be sorry about. Not sure we are in sync on your goals.

My point is OpenVPN is one package, and another for the GUI in Luci. They are kernel independent. no big deal to install.

All the workings in the openvpn, firewall and network config files. For a given provider you may be able to build an image that the user needs to change some keys and passwords on, but not sure that this will work even across geographies. It’s not like a Cisco AnyConnect tool.

Not sure what you mean when you say “activate” it. There is Enable, Disable, Start, Stop. (see the buttons on the startup page.)

Indirectly related, you may want to look at the package luci-app-custom. This lets you enter shell commands and save then as icons in a control panel. Press the icon/button to execute the command. Not sure if this will help you enable\disable the app.

Hey Alfie,

Another hopeful person awaiting your build for openvpn firmware for ar150

 

Hi all, please test OpenVPN firmware for AR150