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

能否提供更完整的配置样例? #1

Closed
zjengjie opened this issue Apr 20, 2019 · 2 comments
Closed

能否提供更完整的配置样例? #1

zjengjie opened this issue Apr 20, 2019 · 2 comments

Comments

@zjengjie
Copy link

如simple-obfs,kcptun如何配置?

@v3aqb
Copy link
Owner

v3aqb commented Apr 20, 2019

How to work with SIP003 plugin:

step 1: tell fwlite where the plugin executable is located.

In the configuration file, section [plugin].

[plugin]
kcptun = path_to_kcptun_client
simple-obfs = path_to_simple-obfs

path can be relative path (to the config file), absolute path, or name of the executable located within environment variable PATH.

For kcptun: use the original kcptun, not the modified SIP003 version.

step 2: add parent proxy.

Same as SIP002 from shadowsocks.

[parents]
proxy5 = ss://cmM0LW1kNTpwYXNzd29yZA==@host:80/?plugin=simple-obfs%3Bobfs%3Dhttp%3Bobfs-host%3Dwww.baidu.com

Plugins can be applied to any proxy protocol that is supported, not limited to shadowsocks.

More, if the plugin is based on TCP (unlike kcptun, or v2ray-plugin in quic mode), proxy chain can be used.

[parents]
proxy6 = ss://cmM0LW1kNTpwYXNzd29yZA==@host:80/?plugin=simple-obfs%3Bobfs%3Dhttp%3Bobfs-host%3Dwww.baidu.com|http://proxy.server:8118

@zjengjie
Copy link
Author

thanks

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

2 participants