FlyVPN Linux Client

FlyVPN Linux download
Operating System Kernel >= 2.6, Mainstream Distributions/OpenWRT/DD-WRT
File Size 1.1M - 1.6M
Release Date 2018-05-15
Intel/AMD: x86 (32-bit, 64-bit)
Embedded: armel mips mipsel
The x86/armel/mips have been tested and are fully functional. The mipsel are still in testing

Attention: FlyVPN for OpenWRT/DD-WRT is for advanced users only as there may be extra steps to complete after connected. Please note that the current version is not compatible with all devices.

FlyVPN Linux Help



# vim /etc/flyvpn.conf

# ./flyvpn login
flyvpn (core:160814-1519)
Load config file: /etc/flyvpn.conf
Command: login
Logging in ...
Login done.
Web Site:
Login Result: OK
Expiration: Sat Jul 22 23:53:39 2017

(View all usable VPN servers)
# ./flyvpn list

(View all usable VPN servers with tag "USA")
# ./flyvpn list "usa"

flyvpn (core:160814-1519)
Load config file: /etc/flyvpn.conf
Command: list
      11	California 04 (Fremont,28IP)
      50	Oregon 02 (Portland,5IPs)
      57	Relay to USA 12 (Shanghai Telecom Relay To USA 12)
      77	Nevada 01 (Las Vegas,7IP)
      90	Relay to USA 13 (Shanghai Telecom Relay To USA 13)
      91	Georgia 01 (Atlanta)
      92	Relay to USA 14 (Shanghai Telecom Relay To USA 14)
      95	Relay to USA 15 (Shanghai Telecom Relay To USA 15)
     105	Relay to USA 16 (Shanghai Telecom Relay To USA 16)
     106	Relay to USA 11 (Shanghai Telecom Relay To USA 11)
     109	USA 13 (Los Angeles;5IP)
     123	Illinois 01 (Chicago,5IP)
     143	New York 01 (Long Island Via HK;3IP)

# ./flyvpn connect "California 04"
flyvpn (core:160814-1519)
Load config file: /etc/flyvpn.conf
Command: connect
Web Site:
Login Result: OK
Expiration: Sat Jul 22 23:53:39 2017
Server: "California 04"
Please choose protocol [udp/tcp/lwip/socks5]: udp
2016-08-14 16:58:40 [I] flyvpn state = 102, rx = 608, tx = 1776
2016-08-14 16:58:40 [I] flyvpn state = 200, rx = 861, tx = 3132
2016-08-14 16:58:40 [I] flyvpn protocol: udp
2016-08-14 16:58:41 [I] flyvpn opened tun: tun0
2016-08-14 16:58:41 [I] flyvpn setting ip addresses and routes ...
2016-08-14 16:58:42 [I] flyvpn server: California 04, server virtual ip:
2016-08-14 16:58:42 [I] flyvpn tun: tun0
2016-08-14 16:58:42 [I] flyvpn dns:,
2016-08-14 16:58:42 [I] flyvpn use vpn as default route gateway
2016-08-14 16:58:42 [I] flyvpn backup dns /etc/resolv.conf to /tmp/flyvpn-resolv.conf.backup
2016-08-14 16:58:42 [I] flyvpn update dns nameserver in /etc/resolv.conf
2016-08-14 16:58:42 [I] flyvpn done
Signal: 2, stop & exit
2016-08-14 17:02:57 [I] flyvpn restore dns /etc/resolv.conf from /tmp/flyvpn-resolv.conf.backup
2016-08-14 17:02:58 [I] flyvpn state = 0, rx = 12170284, tx = 5971328
2016-08-14 17:02:58 [I] flyvpn stopped.

# ./flyvpn --help
show help for expert users: more options, up/down script, etc.


FlyVPN OpenWRT Tutorial

Permanent configurations (set up once and can be kept even if no VPN connection)
# opkg update; opkg install ip kmod-tun

# vim /etc/config/network
(Append these lines after config file)
config interface 'vpnnet'
        option ifname 'tun0'
        option defaultroute '0'
        option peerdns '0'
        option proto 'none'

# vim /etc/config/firewall
(Append these lines after config file)
config zone
        option name vpnzone
        option input ACCEPT
        option output ACCEPT
        option forward ACCEPT
        option masq 1
        option network vpnnet

config forwarding
        option src vpnzone
        option dest lan

config forwarding
        option src lan
        option dest vpnzone

# /etc/init.d/network reload
# /etc/init.d/firewall reload
Temporary configurations (set up before connection, restore after disconnection)
# vim /tmp/resolv.conf.vpn

# vim /etc/config/dhcp
(replace the default "option resolvfile" ...)
        option resolvfile '/tmp/'
(to our DNS config file)
        option resolvfile '/tmp/resolv.conf.vpn'
(do remember to restore this option after disconnection and restart dnsmasq)

# /etc/init.d/dnsmasq restart
And use FlyVPN program to connect to a VPN server, then all your devices can use the VPN network through your router.
Open source licenses: lwIP libevent zlib curl mbedtls

Release History