Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add plugin support for freeAccount #675

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

ylfzq
Copy link
Contributor

@ylfzq ylfzq commented Sep 6, 2021

add support for freeAccount.

Usage:

The config file of 's' server is as below, which is compatible with my previous commit.

type: s

shadowsocks:
  address: 127.0.0.1:12532
  plugin: "obfs-server"
  plugin-opts: "obfs=tls;failover=example.com:80"
manager:
  address: 0.0.0.0:12533
  password: 'yourPassword'

The config file of 'm' server is as below:

type: m

manager:
  address: 127.0.0.1:12533
  password: 'yourPassword'
plugins:
  freeAccount:
    use: true
    port: 12901-12999
    flow: 3G
    time: 8h
    address: 'your.host.or.your.ip'
    method: 'chacha20-ietf-poly1305'
    plugin: "obfs-local"
    plugin-opts: "obfs=tls;failover=example.com:80"
    listen: '0.0.0.0:12534'

I've tested on my server, you can check it again.

Besides, I changed the index.html also in which I downgrade the qrcode errorCorrectLevel for more capacity of characters. A line addded to indicate the softwares can parse the ss URL or scan the qrcode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant