Luci support for Frps, inspire by kuoruan/luci-app-frpc. Included in coolsnowwolf/lede.
- support daemon process via procd
- support most frps‘setting in LuCi, including TLS-only (frps_v0.34.0+).
- support other frps‘setting via “extra setting” (Format: option=value)
-
Download ipk files from release page
-
Upload files to your router.
-
Install package with opkg:
opkg install luci-app-frps_*.ipk
-
Download client file from Frp release link or Frp ipk release link.
-
Upload the client file to your router, or install the ipk file.
-
Config client file path in luci.
-
Add your server and proxy rules.
-
Enable the client.
- Config validate failed when install *ipk
root@K3:~# opkg install ./luci-app-frps*
Installing luci-app-frps (0.0.1-1) to root...
Configuring luci-app-frps.
frps.main.enabled=0 validates as bool with true
frps.main.client_file=/usr/bin/frps validates as file with false
frps.main.run_user is unset and defaults to string (null)
frps.main.enable_logging is unset and defaults to bool 0
frps.main.log_file is unset and defaults to string /var/log/frps.log
frps.main.log_level is unset and defaults to or("trace", "debug", "info", "warn", "error") warn
frps.main.log_max_days is unset and defaults to uinteger 3
frps.main.disable_log_color is unset and defaults to or("true", "false") (null)
frps.main.max_pool_count is unset and defaults to uinteger (null)
frps.main.max_ports_per_client is unset and defaults to uinteger 0
frps.main.subdomain_host is unset and defaults to host (null)
frps.main.dashboard_addr is unset and defaults to host (null)
frps.main.dashboard_port is unset and defaults to port (null)
frps.main.dashboard_user is unset and defaults to string (null)
frps.main.dashboard_pwd is unset and defaults to string (null)
frps.main.bind_port=7000 validates as port with true
frps.main.token is unset and defaults to string (null)
frps.main.tcp_mux=true validates as or("true", "false") with true
frps.main.bind_udp_port is unset and defaults to port (null)
frps.main.kcp_bind_port is unset and defaults to port (null)
frps.main.vhost_http_port is unset and defaults to port (null)
frps.main.vhost_https_port is unset and defaults to port (null)
[err] Config validate failed.
- when uninstall
root@K3:~# opkg remove luci-app-frps
Removing package luci-app-frps from root...
Not deleting modified conffile /etc/config/frps.