Skip to content

kokenot/libernet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

303 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dashboard

Libernet

Libernet is open source web app for tunneling internet using SSH, V2Ray, Trojan, Shadowsocks, OpenVPN on OpenWRT with ease.

Requirements

  • bash
  • curl
  • screen
  • jq
  • Python 3
  • OpenSSH
  • sshpass
  • stunnel
  • V2Ray
  • Shadowsocks
  • go-tun2socks
  • badvpn-tun2socks (legacy)
  • dnsmasq
  • https-dns-proxy
  • php7
  • php7-cgi
  • php7-mod-session
  • php7-mod-json
  • httping
  • openvpn-openssl

Working Features:

  • SSH with proxy
  • SSH-SSL
  • V2Ray VMess
  • V2Ray VLESS
  • V2Ray Trojan
  • Trojan
  • Shadowsocks
  • OpenVPN

Installation

  • If you don't have bash & curl on OpenWRT, please install first:
opkg update && opkg install bash curl
  • Run installation script:
bash -c "$(curl -sko - 'https://raw.githubusercontent.com/johnmalay/libernet/main/install.sh')"
  • Reboot router, if necessary
  • Open Libernet on your browser: http://router-ip/libernet
  • Fill your tunnel server, save configuration & run Libernet

Updating

  • Just run updater script:
bash ~/Downloads/libernet/update.sh
  • Updater script will updating Libernet to latest version

Fresh Install / Fresh Update

  • Remove Libernet installer directory
rm -rf ~/Downloads/libernet
  • Run Libernet online installer
bash -c "$(curl -sko - 'https://raw.githubusercontent.com/johnmalay/libernet/main/install.sh')"
  • Latest version Libernet will be installed on your system

Installation Note

Don't forget to always clear browser cache after installing or upgrading Libernet to prevent unwanted error.

Default Username & Password

  • Username: admin
  • Password: libernet

Additional Information

In home menu, check 'Use tun2socks legacy' to use badvpn-tun2socks or uncheck to use go-tun2socks instead.

Fix Php Error

wget -O /bin/fixphp "https://raw.githubusercontent.com/helmiau/openwrt-config/main/fix-xderm-libernet-gui" && chmod +x /bin/fixphp && fixphp

About

Libernet is open source web app for tunneling internet using SSH, V2Ray, Trojan, Shadowsocks, OpenVPN on OpenWRT with ease.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • PHP 44.3%
  • Shell 26.5%
  • JavaScript 24.2%
  • Python 4.6%
  • Hack 0.3%
  • CSS 0.1%