serjs / socks5-server

765 stars 181 forks source link

Does ALLOWED_IPS do CIDRS? #69

Open blixten85 opened 4 months ago

blixten85 commented 4 months ago

I have this in my docker-compose.yml file. and the logs gives this error. - ALLOWED_IPS=192.168.50.0/24,17.18.0.0/16 [WARN] socks: Connection from not allowed IP address: 172.18.0.1 Does this ALLOWED_IPS not take CIDRS? Does it have to be one single IP per line?

jumoog commented 4 months ago

It doesn't take CIDRS.

blixten85 commented 4 months ago

It doesn't take CIDRS.

Yeah i noticed.

ALLOWED_NETS do on the other hand.