Comments (5)
modify the config.json like this:
{
"server":"",
"server_port":,
"local_port":1080,
"password":"",
"timeout":60,
"method":"",
"plugin":"obfs-server",
"plugin_opts":"obfs=http"
}
from simple-obfs.
@liyiecho, Absolutely I set the config.json same like you said. But simple-obfs not run after boot or reboot yet. So, i submitted this issue as you see. And thanks for your patient.
Server:Ubuntu 16.10
Client:Openwrt 15.05 on xiaomi-mini router
Simple-obfs: Both installed in the server and client yet.
If run:
ss-server -c /etc/shadowsocks-libev/config.json --plugin obfs-server --plugin-opts "obfs=http"
Simple-obfs will be run success in the server, and client will be succeed.
But if only leave the config same like this:
{
"server":"",
"server_port":,
"local_port":1080,
"password":"",
"timeout":60,
"method":"",
"plugin":"obfs-server",
"plugin_opts":"obfs=http"
}
Simple-obfs will not run, and client will not be success.
I enable shadowsocks-libev in server end, with
$ sudo /etc/init.d/shadowsocks-libev start
$ sudo systemctl start shadowsocks-libev
How can i enable obfs in server end too?
from simple-obfs.
obfs seems enabled.
root@f:~# /etc/init.d/shadowsocks-libev status -l
● shadowsocks-libev.service - Shadowsocks-libev Default Server Service
Loaded: loaded (/lib/systemd/system/shadowsocks-libev.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Fri 2017-03-10 16:29:43 CST; 1h 31min ago
Docs: man:shadowsocks-libev(8)
Process: 31185 ExecStart=/usr/bin/ss-server -c $CONFFILE $DAEMON_ARGS (code=exited, status=0/SUCCESS)
Main PID: 31185 (code=exited, status=0/SUCCESS)
Mar 10 16:29:43 f systemd[1]: Started Shadowsocks-libev Default Server Service.
Mar 10 16:29:43 f ss-server[31185]: 2017-03-10 16:29:43 INFO: plugin "obfs-server" enabled
Mar 10 16:29:43 f ss-server[31185]: 2017-03-10 16:29:43 INFO: UDP relay enabled
Mar 10 16:29:43 f ss-server[31185]: 2017-03-10 16:29:43 INFO: initializing ciphers... chacha20-ietf
Mar 10 16:29:43 f ss-server[31185]: 2017-03-10 16:29:43 INFO: tcp server listening at 127.0.0.1:46547
Mar 10 16:29:43 f ss-server[31185]: 2017-03-10 16:29:43 INFO: udp server listening at 0.0.0.0:443
Mar 10 16:29:43 f ss-server[31185]: 2017-03-10 16:29:43 [simple-obfs] INFO: obfuscating enabled
The problem is: client can succeed to access blocked sites, Only when run this command at the server end
ss-server -c /etc/shadowsocks-libev/config.json --plugin obfs-server --plugin-opts "obfs=http"
If exit from this command, openwrt client will not succeed to access the blicked websites again.
It's weird.
from simple-obfs.
I found you use the 443 port, I think you should modify it more than 1024.
from simple-obfs.
@liyiecho , awesome. when I adjust the port more than 1024, it success.
thanks a lot.
from simple-obfs.
Related Issues (20)
- 服务器端和客户端都启用了obfs,为什么通过联通后台看到部分混淆成功,部分失败?
- obfs能被探测了吗?端口被封之前出现了如下日志 HOT 1
- 能不能支持一下window on arm平台
- 提问:这个插件与SSR的混淆是否兼容
- 提问:Android端可以用这个插件吗(Can it be used on Android devices?) HOT 2
- genrpm.sh runs with errors HOT 1
- plugin service exit unexpectedly HOT 3
- unknown sofware exception 0x40000015 HOT 1
- assertion failed error
- Build failure with GCC 10
- usage method in armv7 ?
- freebsd how to do
- 一種新混淆方案
- configure failed with Ubuntu20.04 HOT 1
- where is the obfs-server protocol?
- simple-obfs和v2ray-plugin的区别
- /usr/bin/ss-server[21116]: getpeername: Transport endpoint is not connected
- Compile on Cygwin Error: configure: error: Couldn't find libev. Try installing libev-dev[el]. HOT 2
- package/utils/util-linux/download
- 为啥不更新了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-obfs.