You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
I recently encountered the same problem. When $KILL_SWITCH is set to on, the container attempts to find the protocol used to communicate with the server in the OpenVPN's .conf file. The protocol is used to produce correct iptables rules. However, if default protocol is used (udp), it can be omitted from the .conf file. Such .conf files cause entry.sh to use an empty string as protocol. Understandably, iptables does not like that, hence the unknown protocol "" specified error message on lines 22 and 25 of your logs. Without the firewall rule, openvpn gets "write: UDP: Operation not permitted" error from OS when it attempts to communicate with the server.
A workaround is to explicitly set the protocol in your .conf file. In your case, replace
Thank you for the great work on this repo.
The container works perfectly when KILLSWITCH is "off", but when it's off I get these errors in the logs
This is my docker-compose:
Is this a firewall issue?
The text was updated successfully, but these errors were encountered: