mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 08:33:56 +08:00
🌴 Sync 2026-03-05 23:51:42
This commit is contained in:
1 parent
97c049ed0a
commit
0acff03804
14253 files changed
+3893239
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# OpenWrt netifd protocol handler for tun2socks go application
|
||||
|
||||
# How-to configure tun2socks interface
|
||||
The config stored in /etc/config/network. Example configuration:
|
||||
|
||||
```
|
||||
config interface 't2s'
|
||||
option proto 't2s'
|
||||
option ipaddr '10.0.0.10'
|
||||
option netmask '255.255.0.0'
|
||||
option gateway '10.0.0.1' # optional
|
||||
option proxy 'socks5' # type proxy
|
||||
option host 'my.socks5.proxy:port' # upstream proxy-server
|
||||
option username 'username' # username
|
||||
option password 'password' # password
|
||||
|
||||
```
|
||||
|
||||
# How-to configure interface via LuCi
|
||||
build and install package luci-proto-tun2socks
|
||||
|
||||
Reference in new issue
Block a user