hiwifi-ss
hiwifi-ss copied to clipboard
SS server插件 安装在极路由4上的需求
填写一下以下几个问题
-
使用的 hiwifi-ss 版本 极路由4
-
问题产生过程
-
你的期望 是否可以有作为ss server 版本的插件? 安装在极路由上后是的极路由作为服务器使用
-
运行结果 能够顺利实现国外回国
@novamx 这个实现的方法太多,最简单就是下载SS服务端到路由器,运行即可。
@q629988171 有没有教程? 我对技术一窍不通。。。。主要是不知道哪个SS服务器端适合极路由4
@novamx
OpenWRT 路由器搭建 Shadowsocks 服务器 (ss-server on ramips、71xx、bc47xx)
这个只是参考,你可以先看看。
极路由4 可能需要另外编译ss-server(我没试过)
过程大概如下:
- 安装好这个IPK
- 运行ss-server
- 加入开机运行
我编译了一个:https://github.com/qiwihui/hiwifi-ss/issues/187#issuecomment-369546389
找mtk-sdk自已编译就行了。
2018/6/16 更新
是我的json文件的问题,改成如下内容就可以了。(和运行在ubuntu上的ss-server用法不太一样,这个不支持多端口多用户模式)
{
"server": "",
"server_port":8888,
"password":"your_own_ps",
"timeout": 60,
"method":"aes-256-cfb",
"plugin": "obfs-server",
"plugin_opts":"obfs=http"
}
@paicha 我装了你编译的ss-server,可以运行,但是加什么参数程序只有一个操作就是打印help。 似乎不能用。你有新的版本吗?
root@Hiwifi:/tmp/data# ss-server -c ./ssmlt.json
shadowsocks-libev 3.0.2
maintained by Max Lv <[email protected]> and Linus Yang <[email protected]>
usage:
ss-server
-s <server_host> Host name or IP address of your remote server.
-p <server_port> Port number of your remote server.
-l <local_port> Port number of your local server.
-k <password> Password of your remote server.
-m <encrypt_method> Encrypt method: rc4-md5,
aes-128-gcm, aes-192-gcm, aes-256-gcm,
aes-128-cfb, aes-192-cfb, aes-256-cfb,
aes-128-ctr, aes-192-ctr, aes-256-ctr,
camellia-128-cfb, camellia-192-cfb,
camellia-256-cfb, bf-cfb,
chacha20-ietf-poly1305,
salsa20, chacha20 and chacha20-ietf.
The default cipher is rc4-md5.
[-a <user>] Run as another user.
[-f <pid_file>] The file path to store pid.
[-t <timeout>] Socket timeout in seconds.
[-c <config_file>] The path to config file.
[-n <number>] Max number of open files.
[-i <interface>] Network interface to bind.
[-b <local_address>] Local address to bind.
[-u] Enable UDP relay.
[-U] Enable UDP relay and disable TCP relay.
[-6] Resovle hostname to IPv6 address first.
[-d <addr>] Name servers for internal DNS resolver.
[--reuse-port] Enable port reuse.
[--fast-open] Enable TCP fast open.
with Linux kernel > 3.7.0.
[--acl <acl_file>] Path to ACL (Access Control List).
[--manager-address <addr>] UNIX domain socket address.
[--mtu <MTU>] MTU of your network interface.
[--mptcp] Enable Multipath TCP on MPTCP Kernel.
[--key <key_in_base64>] Key of your remote server.
[--plugin <name>] Enable SIP003 plugin. (Experimental)
[--plugin-opts <options>] Set SIP003 plugin options. (Experimental)
[-v] Verbose mode.
[-h, --help] Print this message.