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 Jul 16, 2023. It is now read-only.
Hi all, im having an issue with adding the wireguard vpn side of things to my container, im running as priviledged and it doesnt seem to want to play ball
2023-06-29 20:24:30.628769 [INFO] VPN_ENABLED defined as 'yes' 2023-06-29 20:24:30.645676 [INFO] LEGACY_IPTABLES is set to '' 2023-06-29 20:24:30.662288 [INFO] Not making any changes to iptables version 2023-06-29 20:24:30.681906 [INFO] The container is currently running iptables v1.8.7 (nf_tables). 2023-06-29 20:24:30.698805 [INFO] VPN_TYPE defined as 'wireguard' 2023-06-29 20:24:30.719828 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf dos2unix: converting file /config/wireguard/wg0.conf to Unix format... 2023-06-29 20:24:30.738999 [INFO] VPN remote line defined as 'uk-man.prod.surfshark.com:51820' 2023-06-29 20:24:30.757314 [INFO] VPN_REMOTE defined as 'uk-man.prod.surfshark.com' 2023-06-29 20:24:30.775670 [INFO] VPN_PORT defined as '51820' 2023-06-29 20:24:30.792313 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp. 2023-06-29 20:24:30.808539 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0. 2023-06-29 20:24:30.832442 [INFO] LAN_NETWORK defined as '192.168.0.0/24' 2023-06-29 20:24:30.850850 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers 2023-06-29 20:24:30.874315 [INFO] Adding 1.1.1.1 to resolv.conf 2023-06-29 20:24:30.897291 [INFO] Adding 8.8.8.8 to resolv.conf 2023-06-29 20:24:30.917140 [INFO] Adding 1.0.0.1 to resolv.conf 2023-06-29 20:24:30.936529 [INFO] Adding 8.8.4.4 to resolv.conf 2023-06-29 20:24:30.954758 [INFO] Starting WireGuard... Warning: /config/wireguard/wg0.conf' is world accessible
[#] ip link add wg0 type wireguard
RTNETLINK answers: Operation not permitted
Unable to access interface: Operation not permitted
[#] ip link delete dev wg0
Cannot find device "wg0"`
Second image shows the owner as system which is equivalent of become=true (from my understanding)
Any advice?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi all, im having an issue with adding the wireguard vpn side of things to my container, im running as priviledged and it doesnt seem to want to play ball
2023-06-29 20:24:30.628769 [INFO] VPN_ENABLED defined as 'yes' 2023-06-29 20:24:30.645676 [INFO] LEGACY_IPTABLES is set to '' 2023-06-29 20:24:30.662288 [INFO] Not making any changes to iptables version 2023-06-29 20:24:30.681906 [INFO] The container is currently running iptables v1.8.7 (nf_tables). 2023-06-29 20:24:30.698805 [INFO] VPN_TYPE defined as 'wireguard' 2023-06-29 20:24:30.719828 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf dos2unix: converting file /config/wireguard/wg0.conf to Unix format... 2023-06-29 20:24:30.738999 [INFO] VPN remote line defined as 'uk-man.prod.surfshark.com:51820' 2023-06-29 20:24:30.757314 [INFO] VPN_REMOTE defined as 'uk-man.prod.surfshark.com' 2023-06-29 20:24:30.775670 [INFO] VPN_PORT defined as '51820' 2023-06-29 20:24:30.792313 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp. 2023-06-29 20:24:30.808539 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0. 2023-06-29 20:24:30.832442 [INFO] LAN_NETWORK defined as '192.168.0.0/24' 2023-06-29 20:24:30.850850 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers 2023-06-29 20:24:30.874315 [INFO] Adding 1.1.1.1 to resolv.conf 2023-06-29 20:24:30.897291 [INFO] Adding 8.8.8.8 to resolv.conf 2023-06-29 20:24:30.917140 [INFO] Adding 1.0.0.1 to resolv.conf 2023-06-29 20:24:30.936529 [INFO] Adding 8.8.4.4 to resolv.conf 2023-06-29 20:24:30.954758 [INFO] Starting WireGuard... Warning:
/config/wireguard/wg0.conf' is world accessible[#] ip link add wg0 type wireguard
RTNETLINK answers: Operation not permitted
Unable to access interface: Operation not permitted
[#] ip link delete dev wg0
Cannot find device "wg0"`
Second image shows the owner as system which is equivalent of become=true (from my understanding)
Any advice?
The text was updated successfully, but these errors were encountered: