3.1.3+ds-1ubuntu2 (Ubuntu 18 LTS server)
Ubuntu 18 LTS server
Create an ACL as follows:
[outbound_white_list]
x.x.x.140/32
8.8.8.8/32
I expected it to only be able to reach Google DNS and a website or server IP I want.
I saw that it blocks nothing and everything is allowed. There is no whitelisting sort of thing at all.
{
"server":"x.x.x.68",
"server_port":80,
"local_address":"127.0.0.1",
"local_port":1080,
"password":"nsasecurepassword",
"timeout":60,
"method":"chacha20-ietf-poly1305",
"mode": "tcp_and_udp",
"nameserver": "8.8.8.8"
}
I use the following command to connect:
ss-server -u --acl acl.txt -c config.json
It's not supported.
@madeye What is the solution to restrict outgoing connections to specific IP using ACL on server-side or is there anything other solution?
Try v2ray, try iptables.
privatevpnsupportguy notifications@github.com 于 2018年6月17日周日 00:11写道:
@madeye https://github.com/madeye What is the solution to restrict
outgoing connections to specific IP using ACL on server-side or is there
anything other solution?—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/shadowsocks/shadowsocks-libev/issues/2096#issuecomment-397822673,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQVHEiOQOpoGjmj83xJYfWCBOhRNwDRwks5t9S5MgaJpZM4Uqa_E
.
As mentioned above, use iptables to set firewall rules.