Hydra VPN SDK demo for OpenWRT
Last updated
Was this helpful?
Last updated
Was this helpful?
OpenWRT v19.07.3 or later
for x86_64 target
opkg install afwrt-ws_0.3_x86_64.ipk
for mvebu/cortexa9 target
opkg install afwrt-ws_0.3_arm_cortex-a9_vfpv3-d16.ipk
If package installation was succeeded, the next files should appear on your WRT system:
/usr/lib/libafwrt.so - VPN SDK library
/usr/bin/afwrt-ws - VPN SDK demo client
/etc/afwrt/whoami.in - VPN SDK library configuration template
/etc/afwrt-ws.conf - VPN SDK client configuration
Please take a look at the section below and check /etc/afwrt-ws.conf was configured properly for your setup and execute afwrt-ws binary with root privileges.
Most of the options could be left unchanged for this demo. But the next options should be updated properly in afwrt-ws.conf:
"wan_ifname": name of your "Wide Area Network" interface, which your device connected to the internet through
"protected_ip_addrs": array of protected IP addresses on the internal network you want to test, with Country (Virtual Location) code for each
In the current release, a list of available country codes is hardcoded by the following ones:
ar
au
br
ca
ch
cz
de
dk
es
fr
gb
hk
id
ie
in
it
jp
mx
nl
no
ro
ru
se
sg
tr
ua
us
$ wget example.net
Resolving example.net... failed: Name or service not known.
Please check your router DNS settings. Dnsmasq may not be configured properly or DHCP-client configured on WAN interface can’t get DNS-server address from your DHCP server.
You can download architecture
Option "token" is hard coded until the second release. It will be retrieved internally using the “” method.
From the next release, this list will be retrieved dynamically from the backend server using the “” method.