GithubHelp home page GithubHelp logo

Comments (16)

Xixi0218 avatar Xixi0218 commented on May 20, 2024

vmess

from shoes.

Xixi0218 avatar Xixi0218 commented on May 20, 2024

Please help me

from shoes.

cfal avatar cfal commented on May 20, 2024

shoes is a server, although it can connect to other proxies for you. for example, you can set it up as a socks server, but use it to connect to a vmess server.

i've added another example here: https://github.com/cfal/shoes/blob/master/examples/socks_through_wss_vmess.yaml

from shoes.

Xixi0218 avatar Xixi0218 commented on May 20, 2024

shoes is a server, although it can connect to other proxies for you. for example, you can set it up as a socks server, but use it to connect to a vmess server.

i've added another example here: https://github.com/cfal/shoes/blob/master/examples/socks_through_wss_vmess.yaml

I use socks as the client and vmess as the proxy, and the link to v2ray will fail

from shoes.

cfal avatar cfal commented on May 20, 2024

can you paste your configs?

from shoes.

Xixi0218 avatar Xixi0218 commented on May 20, 2024

can you paste your configs?

  • address: 127.0.0.1:1080
    protocol:
    type: socks
    rules:

    allow connections to all ips

    • mask: 0.0.0.0/0
      action: allow
      client_proxy:
      • address: 127.0.0.1:2000
        protocol:
        type: vmess
        cipher: any
        user_id: b831381d-6324-4d53-ad4f-8cda48b30811

from shoes.

cfal avatar cfal commented on May 20, 2024

can you paste your vmess config?

from shoes.

Xixi0218 avatar Xixi0218 commented on May 20, 2024

can you paste your vmess config?

If you solve it, please tell me, I can pay you some USDT

from shoes.

cfal avatar cfal commented on May 20, 2024

you have tls=1, so, you need to connect over TLS to the server:

- address: 127.0.0.1:1080
  protocol:
    type: socks
  rules:
    # allow connections to all ips
    mask: 0.0.0.0/0
    action: allow
    client_proxy:
      address: 127.0.0.1:2000
      protocol:
        type: tls
        verify: false
        protocol:
          type: vmess
          cipher: any
          user_id: b831381d-6324-4d53-ad4f-8cda48b30811

from shoes.

Xixi0218 avatar Xixi0218 commented on May 20, 2024

always failed

127.0.0.1:49190 finished with error: Custom { kind: UnexpectedEof, error: "failed to setup client stream to mon.snssdk.com:443: tls handshake eof" }

from shoes.

cfal avatar cfal commented on May 20, 2024

it's hard for me to debug the problem without seeing the v2ray server config. can you paste it?

from shoes.

Xixi0218 avatar Xixi0218 commented on May 20, 2024

it's hard for me to debug the problem without seeing the v2ray server config. can you paste it?

{
  "log": {
    "loglevel": "debug"
  },
  "inbounds": [
    {
      "port": 2000,
      "listen": "127.0.0.1",
      "tag": "socks-inbound",
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
            "id": "b831381d-6324-4d53-ad4f-8cda48b30811"
          }
        ]
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "settings": {},
      "tag": "direct"
    }
  ]
}

from shoes.

Xixi0218 avatar Xixi0218 commented on May 20, 2024

it's hard for me to debug the problem without seeing the v2ray server config. can you paste it?

You can run v2ray locally, use shoes to link, I found that it will time out

from shoes.

cfal avatar cfal commented on May 20, 2024

i had forgotten about this - but you're correct, this won't work with v2ray's vmess server until #2 is resolved.

i've pushed a small update, so if you like, you can run a compatible shoes vmess server for now:

# Simple vmess server, supporting TCP and UDP-over-TCP.
- address: 127.0.0.1:2000
  transport: tcp
  protocol:
    type: vmess
    cipher: aes-128-gcm
    user_id: b831381d-6324-4d53-ad4f-8cda48b30811
  rules:
    - mask: 0.0.0.0/0
      action: allow
      # Direct connection, don't forward requests through another proxy.
      client_proxy: direct

from shoes.

Xixi0218 avatar Xixi0218 commented on May 20, 2024

i had forgotten about this - but you're correct, this won't work with v2ray's vmess server until #2 is resolved.

i've pushed a small update, so if you like, you can run a compatible shoes vmess server for now:

About when can I use shoes as a client

from shoes.

cfal avatar cfal commented on May 20, 2024

this should now work.

from shoes.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.