Replies: 1 comment 1 reply
-
You could achieve that easily with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
Looking in the code (https://github.com/shadowsocks/shadowsocks-rust/blob/master/crates/shadowsocks-service/src/server/tcprelay.rs line 157) it looks that the way to limit tunnel connections forward address is compiling the [outbound_block_list] section in an ACL.
In my setup, I would like to do the opposite, like a [outbound_allow_list] to only allow few things to be forwarded.
Also, I would like to add port specification to the list.
In the end, in my setup I would only like to allow forwarding to "localhost" on a limited range of ports.
Is there any way to achieve that other than changing the code?
(Otherwise I'm thinking of changing / integrating the logic in https://github.com/shadowsocks/shadowsocks-rust/blob/master/crates/shadowsocks-service/src/acl/mod.rs)
Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions