Code Monkey home page Code Monkey logo

Comments (5)

liyiecho avatar liyiecho commented on July 3, 2024

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.

yukeiyang avatar yukeiyang commented on July 3, 2024

@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.

yukeiyang avatar yukeiyang commented on July 3, 2024

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.

liyiecho avatar liyiecho commented on July 3, 2024

I found you use the 443 port, I think you should modify it more than 1024.

from simple-obfs.

yukeiyang avatar yukeiyang commented on July 3, 2024

@liyiecho , awesome. when I adjust the port more than 1024, it success.
thanks a lot.

from simple-obfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.