Replies: 7 comments 1 reply
-
v.1.5.0 is far too old from the main stream. Use the latest release for testing. |
Beta Was this translation helpful? Give feedback.
-
@zonyitoo Actually, I later checked rust project out from git and build it locally instead. Still similar issues. I also don't understand how the tunneling or local-redir works. Take this example: In my mind, I want to redirect all local traffic including all kinds of DNS requests, including SRV calls, to another computer / laptop / server. I am not sure how the example of "[::1]:8388" is going to get traffic to the laptop. |
Beta Was this translation helpful? Give feedback.
-
@zonyitoo I am on mac, and the examples there uses iptables. The script on this page has not even bothered to extract MyIP and MyPort and MyMethod to appropiate variables either, and what the hell is MyMethod anyway. https://github.com/shadowsocks/shadowsocks-libev These libraries seems to do lots of magic but so poorly documented it is a shame. No way to get approapiate help either. You ask a question and you are told to google. |
Beta Was this translation helpful? Give feedback.
-
Also, by the looks of it, ss-redir seems no longer a thing as it is not even part of the installation when using brew install shadowsocks-libev |
Beta Was this translation helpful? Give feedback.
-
Remote machine connected to VPN:
Local machine attempting to connect to remote machine: thread 'main' panicked at ' Yes, I am using the RUST based one. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
So you are trying to run I personally use macOS, too. But I am using Back to your question.
This is a BUG because macOS doesn't support UDP transparent proxy (it supports maybe, but undocumented). This error happens only with the latest |
Beta Was this translation helpful? Give feedback.
-
I found this:
https://github.com/shadowsocks/libudns/blob/master/udns_rr_srv.c
But so far I am way too unfamiliar with anything to figure out how to use it.
I have downloaded the mac version v.1.5.0 of shadowsocks rust.
I am starting the server, starting the local with the following shared config:
This alone is not working but I am using then in turn https://github.com/sipt/shuttle to redirect all traffic to the local one.
The config for shuttle is:
When I launch shuttle, with ./shuttle path-to-above.config.yaml
most dns queries seems to work and is tunneled through the shadowsocks local to the shadowsocks server/laptop and I can visit all kinds of things.
However, when hitting SRV domains I am unable to get them to be resolved.
I found the lib (https://github.com/shadowsocks/libudns/blob/master/udns_rr_srv.c) but how do I use it with shadowsocks?
I also struggle to figure out the configuration for shadowsocks as the documenation is not 100% solid.
For instance, how do I install other plugins such as the "v2ray" plugin? No info on how. Configuration is filled with that use case but it is not in the mac binaries.
Beta Was this translation helpful? Give feedback.
All reactions