mirror of
https://github.com/cbeuw/Cloak.git
synced 2026-04-25 20:45:59 +03:00
[GH-ISSUE #67] About "server name" #58
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Cloak#58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @windstander on GitHub (Sep 27, 2019).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/67
In the readme, "RedirAddr is the redirection address when the incoming traffic is not from a Cloak client. It should either be the same as, or correspond to the IP record of the ServerName field set in ckclient.json"
but after installation with that script, it says server name can "use anything you want", while the redirect IP is one of bing.com by default.
I tried to set the redirect IP to another site and set the server name to the domain of that site, but the cloak plugin dosen't work properly.
@cbeuw commented on GitHub (Sep 27, 2019):
Does it give any log outputs?
Sent with GitHawk
@windstander commented on GitHub (Sep 27, 2019):
Where to find the log?
@HirbodBehnam commented on GitHub (Sep 27, 2019):
With my script try
systemctl status cloak-server@windstander commented on GitHub (Sep 27, 2019):
Readme says the redirect IP must belong to the "server name", while after installation the script says the server name can be any site you want.
Thus which is right?
@HirbodBehnam commented on GitHub (Sep 27, 2019):
I will change the script
Sry for this
@windstander commented on GitHub (Sep 27, 2019):
Thank you for your script.
I am busy and cannot get the log immediately.
I set the redirect IP to 104.85.216.15 and set the server name to steampowered.com. But the SS and cloak do not work. You can try it.
I want to masquerade as visiting the Steam site.
@cbeuw commented on GitHub (Sep 27, 2019):
If Cloak is already working with default settings, changing
ServerNameshould have no bearing on the connection as it's just there for the firewall to see. Cloak server doesn't do anything with it@windstander commented on GitHub (Sep 27, 2019):
This time it works. You mean redirect IP can be any site's IP and the user can set any site's domain as server name?
@windstander commented on GitHub (Sep 27, 2019):
Failed again
Sep 27 17:08:50 instance-1 systemd[1]: Started Cloak Server Service.
Sep 27 17:08:50 instance-1 systemd[644]: cloak-server.service: Failed at step EXEC spawning /usr/local/bin/ck-serve
Sep 27 17:08:50 instance-1 systemd[1]: cloak-server.service: Main process exited, code=exited, status=203/EXEC
Sep 27 17:08:50 instance-1 systemd[1]: cloak-server.service: Unit entered failed state.
Sep 27 17:08:50 instance-1 systemd[1]: cloak-server.service: Failed with result 'exit-code'.
lines 1-10/10 (END)
@windstander commented on GitHub (Sep 27, 2019):
rebooted
cloak-server.service - Cloak Server Service
Loaded: loaded (/etc/systemd/system/cloak-server.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-09-27 17:16:55 CST; 5min ago
Process: 660 ExecStart=/usr/local/bin/ck-server -c ckserver.json (code=exited, status=1/FAILURE)
Main PID: 660 (code=exited, status=1/FAILURE)
Sep 27 17:16:55 instance-1 systemd[1]: Started Cloak Server Service.
Sep 27 17:16:55 instance-1 ck-server[660]: 2019/09/27 17:16:55 ck-server.go:244: Must specify localAddr
Sep 27 17:16:55 instance-1 systemd[1]: cloak-server.service: Main process exited, code=exited, status=1/FAILURE
Sep 27 17:16:55 instance-1 systemd[1]: cloak-server.service: Unit entered failed state.
Sep 27 17:16:55 instance-1 systemd[1]: cloak-server.service: Failed with result 'exit-code'.
@windstander commented on GitHub (Sep 27, 2019):
cloak-server.service - Cloak Server Service
Loaded: loaded (/etc/systemd/system/cloak-server.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-09-27 17:33:04 CST; 6min ago
Main PID: 650 (code=exited, status=203/EXEC)
Sep 27 17:33:04 instance-1 systemd[1]: Started Cloak Server Service.
Sep 27 17:33:04 instance-1 systemd[1]: cloak-server.service: Main process exited, code=exited, status=203/EXEC
Sep 27 17:33:04 instance-1 systemd[1]: cloak-server.service: Unit entered failed state.
Sep 27 17:33:04 instance-1 systemd[1]: cloak-server.service: Failed with result 'exit-code'.
@windstander commented on GitHub (Sep 27, 2019):
You are adjusting the script? Everytime I reinstall the plugin, the steps are changed.
@HirbodBehnam commented on GitHub (Sep 27, 2019):
Can you manually run
ck-server -c /etc/cloak/ckserver.jsonand can you post
/etc/cloak/ckserver.jsonfile?Edit:
What do you mean about steps are changed? And no I'm not editing the script
@windstander commented on GitHub (Sep 27, 2019):
I uninstalled the plugin and wait for the new script.
Thank you all.
@HirbodBehnam commented on GitHub (Sep 27, 2019):
The script is fine on my server. I still have no idea what is causing the problem for you.
Update: Just reinstalled the script on my server and It was fine.
@windstander commented on GitHub (Sep 27, 2019):
root@instance-1:/home/XXX# ck-server -c /etc/cloak/ckserver.json
2019/09/27 19:53:02 ck-server.go:244: Must specify localAddr
@malikshi commented on GitHub (Sep 27, 2019):
@windstander did you use script install cloak from @HirbodBehnam ? its should be working
@windstander commented on GitHub (Sep 27, 2019):
I use it on GCP.
@windstander commented on GitHub (Sep 27, 2019):
Before, it will ask me whether create my own net rule, but now it does not ask me and directly show the QRcode of the shadowsocks.
@windstander commented on GitHub (Sep 27, 2019):
And now the default server name is the redirect IP, not bing.com
@HirbodBehnam commented on GitHub (Sep 27, 2019):
I still asks you if you want to set custom rules. After asking which dns server you want to use
@windstander commented on GitHub (Sep 27, 2019):
Now it works fine.