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

Configuring kcptun android plugin with android-shadowsocks app #25

Closed
JeffCleverley opened this issue Oct 28, 2017 · 4 comments
Closed

Comments

@JeffCleverley
Copy link

Hey, I am having problems with the android plugin.

My kcptun config:

{
    "listen": "0.0.0.0:4000",
    "target": "127.0.0.1:6969",
    "key": "<password>",
    "crypt": "salsa20",
    "mode": "fast2",
    "mtu": 1400,
    "sndwnd": 2048,
    "rcvwnd": 2048,
    "datashard": 70,
    "parityshard": 30,
    "dscp": 46,
    "nocomp": false,
    "acknodelay": false,
    "nodelay": 0,
    "interval": 40,
    "resend": 0,
    "nc": 0,
    "sockbuf": 4194304,
    "keepalive": 10
}

Everything is working fine with QT5 on my mac, see screenshot:

screen shot 2017-10-28 at 4 16 40 pm

but whenever I enable the kcptun plugin for the shadowsocks app with the following config:

dscp=46;mtu=1350;parityshard=0;mode=fast2;key=<password>;crypt=salsa20

I have tried setting the android shadowsocks app remote port to both the original 6969 and to the KCPTUN port 4000

Any pointers where I am going wrong please, the only tutorial or documentation I've found for the plugin says:

'configure settings'

And according to the configuration settings in the plugin, as far as I can see everything is okay.

Thanks for your help

@fwgt
Copy link

fwgt commented Mar 25, 2018

Try put remote port=6969 in SS app setting and port=4000 in plugin config settings.

@Mygod
Copy link
Collaborator

Mygod commented Apr 10, 2018

Your configuration clearly does not match.

@Mygod Mygod closed this as completed Apr 10, 2018
@JeffCleverley
Copy link
Author

@fwgt

Apologies for late reply, been away.

You can't... the Kcptun port automatically sets the SS port, that's why it is blacked out.

@Mygod

The Kcptun configuration is there, saying it clearly doesn't match was not helpful.

SS works fine with its standard config, so all the passwords and IP addresses are fine.

If you could point out the mistake on the kcptun configuration then that may be helpful, but otherwise what is the point.

Clearly nothing, I provided my config and SS app set up.

@john564
Copy link

john564 commented Jul 1, 2018

as OP said, it clearly doesn't match.

Like for example you have parityshard different in each setup, and I can confirm using setting parityshard=0; stops it working.

--parityshard value, --ps value set reed-solomon erasure coding - parityshard (default: 3)

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

No branches or pull requests

4 participants