-
Notifications
You must be signed in to change notification settings - Fork 287
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
Shadowsocks-Rust and Cloak #240
Comments
Ahaaa But since my TLS encryption should happen from the reverse proxy and not from cloak (since I don't want to map my certificate into an docker container and have redirect loop issues etc.) |
Ahaaa Its used as some sort of password rather than encryption? Anyway I got it working now. |
The only help that I need now is how do I configure the path correctly? What is the default path for the config? Because when I start the cloak server using shadowsocks plugin settings, it does not find the file. But the config is functional now. This is how the plugin is currently configured.
I also tried "plugin": "/usr/bin/ck-server-linux-amd64 -c /etc/cloak/ckserver.json", But then the ssserver does not find it. |
Cdn mode
…-------- Original Message --------
On Nov 18, 2023, 4:13 PM, SchattenWolf2008 wrote:
Ahaaa
So by running the ck-server directly from within the docker container it says that it requires a private key.
But since my TLS encryption should happen from the reverse proxy and not from cloak (since I don't want to map my certificate into an docker container and have redirect loop issues etc.)
How can I configure cloak to only serve HTTP traffic?
—
Reply to this email directly, [view it on GitHub](#240 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AIOIVHYVLZY7IXVOOM3WBGTYFC7AFAVCNFSM6AAAAAA7Q7YJMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGUYTSOJTGA).
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I don't cleary get this. Well I managed to get cloak server running now but I have read about cdn in the docs and put the cloak server to listen on 0.0.0.0:80, with the docker config I changed the port from :80 to 127.0.0.1:8389 and on my nginx reverse proxy I set it to point to http://127.0.0.1:8389. But the shadowrocket vpn client does not seem to establish an functioning connection. I dont cleary understand what options I need to set. On the client I configured: I am not sure what I need to set in order to make it working. The ShadowSocks server is not accessable from outside, only from the cloak server. At Proxy Method in particular it had "/" just there, does that have something to do with the book thingy from cloak? |
Hello.
I wanted to go for a rather simple setup with docker.
I have installed Shadowsocks-rust on docker with an docker-compose.
On the ShadowSocks-Rust Server container, I have installed cloak by having the executable file on the host system and mapped it into the container.
In the SS config I have configured it to use the plugin using the path.
This seemed to work, but cloak complained about the config file.
I then also mapped a config file into the docker container (I can also access it from inside the docker container) but it still complains.
My config for the plugin in ssserver.json is:
And I get this error:
docker-compose up
This is my config file for cloak:
I wanted the TLS encryption to be done by my nginx server on the host, which is why I didn't include any SSL keys.
If that was the issue, I'd atleast expect a different error message.
Why is cloak not finding the config file?
I mapped it like this:
.../container-data/ckserver.json:/etc/cloak/ckserver.json
And I can read it from within the docker container:
user@server: docker exec -it ssserver-rust cat /etc/cloak/ckserver.json
The text was updated successfully, but these errors were encountered: