shadowsocks / shadowsocks/shadowsocks-rust

Need help with configuring sslocal via docker.

Open
#1,645 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
10.9k
Forks
1.5k
Avg merge
4d 15h
Merged PRs (30d)
5

Description

I want to use sslocal running in docker. I have started docker with config looking something like:

{
  "servers": [
    {
      "address":"server_ip",
      "port":server_port,
      "password":"server_pass",
      "method":"server_method",
      "timeout":60
    }
  ],
  "locals": [
    {
      "local_port": 1080,
      "local_address": "127.0.0.1"
    },
    {
      "protocol": "http",
      "local_address": "127.0.0.1",
      "local_port": 1081
    }
  ]
}

And mapped ports 1080 and 1081 to the host ones. When using http proxy inside the container it works (with 1081 port), but using proxy outside the container (with the host port) - request fails. Host OS - Windows.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the working in-container HTTP proxy with requests through the host-mapped ports on Windows. Check the Docker port mappings and the configured local addresses and ports; the work is done when host requests successfully use the exposed proxy.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, rust
Domain
devops, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.