Pango Platform
HomeConsole
  • What is Pango Developer Platform
  • Getting started
    • Sign up on the Management Console
    • Create a new project
    • Switch projects
    • Change console settings
    • Edit your profile
    • Try out the demo app
    • Keep exploring
    • Deprecation and Sunset
  • Console details
    • Dashboard
      • General
      • Location loading
    • Users
      • User page
    • Active sessions
    • Network
      • Countries
      • Locations
      • Pools
        • Optimal location
        • Location rules
    • Settings
      • General
        • Project config description (JSON format)
          • Server selector (JSON format)
          • Request selector (JSON format)
      • Authentication methods
        • Auth Plugin requirements
      • VPN
        • General
        • VPN Bypass list
        • Client Networks
      • Member
    • Export Data
    • Log
  • SDK
    • Unified VPN SDK for Android
      • Setup
        • Application Setup
        • Proguard Rules, Notification, and Analytics Configurations
        • Backend URL Configuration
      • Usage
        • Initialization
        • VPN Interface
        • Backend interface
      • Features
        • Hydra Protocol
          • Location profile (Hydra only)
        • Custom sdk dependencies
        • Deferred VPN Service Initialization
        • Authentication
        • Client Network List (CNL)
        • OpenVPN transport
        • Wireguard Transport
        • Reconnection strategy
        • Single Protocol SDK
        • Killswitch
        • Domain route via VPN
        • Process route via VPN
        • Process Bypass
        • Domain Bypass
        • Traffic rules
        • VPN Node DNS Configuration
        • Multihop
          • Optimal Location
      • Exceptions
      • Version migration
      • Changelog
    • Unified VPN SDK for Apple
      • Setup
        • Application Setup
        • Network Extension Setup
          • Network Extension Setup for tvOS
        • Backend URL Configuration
      • Usage
        • Single Protocol SDK
        • Unified SDK
        • Logging
        • Decoding Encoded VPN SDK Logs
      • Features
        • Deferred VPN Service Initialization
        • Authentication
        • Wireguard Transport
        • Reconnection strategy
        • Killswitch
        • Domain Bypass
        • Multihop
          • Optimal Location
        • Client Network List (CNL)
        • Domain route via VPN
      • Changelog
      • API Reference
    • IPSEC VPN SDK for Apple
    • Unified VPN SDK for Windows
      • Setup
        • Backend URL Configuration
        • Service command line arguments
        • ARM Platform Support
      • Usage
        • CoreAPI
        • Events
        • Generating a Unique Device Identifier
        • Error processing
        • Pipe Messaging
      • Features
        • Traffic protection
          • Killswitch
          • Prevent IP Leaks
          • Block Local Networks
        • Other
          • Firewall
            • DNS Monitor
            • Process Bypass
            • Domain Bypass
            • Process route via VPN
            • Domain route via VPN
          • Throttling
          • Optimal Location
          • Common issues
        • Hydra Protocol
          • CustomDNS, UserDNS, MultiHop, VpnProfiles
        • OpenVPN Protocol
        • Wireguard Protocol
        • IPSec Protocol
      • Collecting Debug Logs
      • Changelog
    • Unified VPN SDK for Routers
      • SDK. Shared library.
      • Configuration Interface (CI)
        • Unix Domain Sockets CI
        • REST API CI
    • Unified VPN SDK Feature Comparison By Platform
    • Unified VPN SDK
      • Features
        • Personal Bridge
    • Tunnel Vision and Tunnel Crack Prevention
  • REST API
    • Partner API
  • Sample applications
    • Unified VPN SDK demo for Windows
    • Hydra VPN SDK demo for iOS
    • IPSEC VPN SDK demo for iOS
    • Unified VPN SDK demo for Android
    • Hydra VPN SDK demo for OpenWRT
    • OpenVPN configuration file
  • Resources
    • Use cases
      • Public VPN
      • Business VPN
        • Creating a Business VPN Project
        • Wi-Fi Security for Business
      • Application anti-blocking
    • How-to
      • Create a Firebase project for User Authentication
      • AWS CloudFront Distribution of the Platform URL
      • How can I get Shared Secret key from iTunes Connect for In-App Purchase
  • FAQ
    • General
      • VPN Platform Flow
      • What data is collected by the Platform?
      • What analytic data is collected by your SDK?
      • How the Platform restricts access to our data?
      • Why DNS Leak tests often indicate positive result?
      • Do we need to perform endpoint health checks?
      • How is the VPN exit node found?
      • How are streams re-marked if VPN is enabled/disabled on an active flow?
      • Is there a maximum number of supported devices?
      • Are both IPv4 and IPv6 supported?
      • What is the MTU of the tunnel?
      • Are any redundancy measures in terms of reliability provided?
      • Is there any load balancing?
      • Do you block broadcast and multicast to/from the VPN?
    • List of Open Source libs
Powered by GitBook
On this page
  • Compatibility
  • Installation and running
  • Configuration
  • Available country codes
  • Possible issues

Was this helpful?

  1. Sample applications

Hydra VPN SDK demo for OpenWRT

PreviousUnified VPN SDK demo for AndroidNextOpenVPN configuration file

Last updated 3 years ago

Was this helpful?

Please pay attention that this limited version does not support dynamic configuration via websockets or any kind of statistics/reporting and can send a lot of debug information to stdout.

Compatibility

  • OpenWRT v19.07.3 or later

Installation and running

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

Configuration

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

The advantage of x86_64 format is that this build can be deployed and tested on any developer machine w/o real hardware. We recommend using VirtualBox.

VBox-based environment could be set up according to the instruction:

Available country codes

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

Possible issues

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

GitHub project link
pre-compiled library and binary files for x86_64
/user/login
https://openwrt.org/docs/guide-user/virtualization/virtualbox-vm
/user/countries