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

Installing Shadowsocks with WireGuard #3461

Open
micron1390 opened this issue Jan 22, 2024 · 2 comments
Open

Installing Shadowsocks with WireGuard #3461

micron1390 opened this issue Jan 22, 2024 · 2 comments

Comments

@micron1390
Copy link

micron1390 commented Jan 22, 2024

Describe the bug

Could you help me please how to configure shadowsocks with wireguard in combination for Windows ?

Environment

  • Shadowsocks client version: 1.17.1
  • OS version: Windows 11
  • .NET version:

Steps you have tried

I'm launching

sslocal.exe -c config.json
2024-01-23T01:09:52.318212400+03:00 INFO  shadowsocks local 1.17.1 build 2023-11-26T16:00:45.442787688+00:00
2024-01-23T01:09:52.340352100+03:00 INFO  shadowsocks TCP tunnel listening on 127.0.0.1:1080
2024-01-23T01:09:52.342646700+03:00 INFO  shadowsocks UDP tunnel listening on 127.0.0.1:1080

then WireGuard itself, but there is no connection

Please clarify what I have configured incorrectly?

Thanks in advance.

What did you expect to see?

What did you see instead?

Config and error log in detail (with all sensitive info masked)

Setting up server configuration:

{

"server": "0.0.0.0",
"mode": "tcp_and_udp",
"server_port": 3001,
"password": "dRRpOvUgTTsLaJsQ69wWH/GgZjAcWx/X",
"timeout": 300,
"method": "aes-256-gcm"

}

Client setup:

{
    "server":"X.X.X.X",
    "server_port":3001,
    "password":"dRRpOvUgTTsLaJsQ69wWH/GgZjAcWx/X",
    "mode": "tcp_and_udp",
    "method":"aes-256-gcm",
    "locals": [
        {
        "local_address": "127.0.0.1",
        "local_port": 1080,
        "forward_address": "127.0.0.1",
        "forward_port": 51230,
        "protocol": "tunnel"
        }
    ]
}

WireGuard Client Configuration:

[Interface]
PrivateKey = XXXXXXXXXX
Address = 10.20.0.2/24
DNS = 8.8.8.8
MTU = 1280

[Peer]
PublicKey = XXXXXXXXXX
AllowedIPs = 0.0.0.0/0
Endpoint = 127.0.0.1:1080
PersistentKeepalive = 20

@chenshaoju
Copy link
Collaborator

It looks like you are using another version of the Shadowsocks.

are you using shadowsocks-libev or shadowsocks-rust

@micron1390
Copy link
Author

It looks like you are using another version of the Shadowsocks.

are you using shadowsocks-libev or shadowsocks-rust

Thanks for the reply.
I'm using shadowsocks-rust on the windows client and shadowsocks-libev ubuntu20 on the server

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