docker-vpn icon indicating copy to clipboard operation
docker-vpn copied to clipboard

Cannot open "/proc/sys/net/ipv4/route/flush": Read-only file system

Open MirolHusni opened this issue 2 years ago • 2 comments

My connection successfully authenticated but then stuck at the Connect Banner and showing above error message.

image

Can u help me fix this?

Thanks in advance

MirolHusni avatar Nov 11 '22 07:11 MirolHusni

I ran into that error before. I think I remember the solution being to just ignore it as it was cosmetic and wasn't actually causing any issues. Do you have any problems with the connection?

  • https://serverfault.com/questions/878443/when-running-vpnc-in-docker-get-cannot-open-proc-sys-net-ipv4-route-flush
  • https://gitlab.com/openconnect/openconnect/-/issues/354

I did implement the advice in that serverfault post to install the latest version of the script.

  • https://github.com/ethack/docker-vpn/blob/940c738b215c06e248f9ddeacd316cfad6eb58e9/Dockerfile

Can you rebuild the image from the latest git commit and see if it goes away? Or is it still happening for you with the latest?

ethack avatar Dec 02 '22 14:12 ethack

I have this all the time and it doesn't cause any problems.

kiler129 avatar Feb 22 '23 02:02 kiler129