edgd1er / nordlynx-proxy

use nordvpn app to open a vpn connection, run a socks proxy
16 stars 8 forks source link

udp buffer size #17

Open thovi opened 1 year ago

thovi commented 1 year ago

Hi, thank you for providing this! I tried it out using portainer and docker compose but keep getting this error:

2022/12/02 16:37:35 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details.

I tried manually increasing the udp buffer by adding "- net.core.rmem_max = 4194304" to the sysctls in the docker compose, but without any effect.

Do you know how I might be able to address this issue? I have the ghcr.io/bubuntux/nordlynx running without problems with my credentials, but as this does not include a socks5 proxy, I'd prefer your image.

Thank you so much in advance! Cheers

edgd1er commented 1 year ago

Hi, thank you for your interest in the project. I had a look at this warning without any luck, few weeks ago. My understanding was that the command sysctl -w net.core.rmem_max=2500000 was to be ran on the host. At the moment, I didn't not notice any problem with the container but I don't have a very intensive usage.