Skip to content

RTNETLINK answers: Permission denied #3

@xLogiiCx

Description

@xLogiiCx

[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.xx.xx.131/32 dev wg0
[#] ip -6 address add fc00:bbbb:xxxx:xxxx::0:xxxx/128 dev wg0
RTNETLINK answers: Permission denied
[#] ip link delete dev wg0
2021-03-22 10:39:49.130124 [INFO] VPN_ENABLED defined as 'yes'
2021-03-22 10:39:49.150408 [INFO] VPN_TYPE defined as 'wireguard'
2021-03-22 10:39:49.181265 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
2021-03-22 10:39:49.204315 [INFO] VPN remote line defined as '185.xxx.xxx.70:51820'
2021-03-22 10:39:49.226832 [INFO] VPN_REMOTE defined as '185.xxx.xxx.70'
2021-03-22 10:39:49.249201 [INFO] VPN_PORT defined as '51820'
2021-03-22 10:39:49.270035 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
2021-03-22 10:39:49.130124 [INFO] VPN_ENABLED defined as 'yes'
2021-03-22 10:39:49.150408 [INFO] VPN_TYPE defined as 'wireguard'
2021-03-22 10:39:49.181265 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
2021-03-22 10:39:49.204315 [INFO] VPN remote line defined as '185.xxx.xxx.70:51820'
2021-03-22 10:39:49.226832 [INFO] VPN_REMOTE defined as '185.xxx.xxx.70'
2021-03-22 10:39:49.249201 [INFO] VPN_PORT defined as '51820'
2021-03-22 10:39:49.270035 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
2021-03-22 10:39:49.295977 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
2021-03-22 10:39:49.322001 [INFO] LAN_NETWORK defined as '192.168.178.0/24'
2021-03-22 10:39:49.344897 [INFO] NAME_SERVERS defined as '1.1.1.1,1.0.0.1'
2021-03-22 10:39:49.369305 [INFO] Adding 1.1.1.1 to resolv.conf
2021-03-22 10:39:49.392650 [INFO] Adding 1.0.0.1 to resolv.conf
2021-03-22 10:39:49.414332 [INFO] Starting WireGuard...
Warning: `/config/wireguard/wg0.conf' is world accessible
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.xx.xx.131/32 dev wg0
[#] ip -6 address add fc00:xxxx:xxxx:xxxx::0:5a82/128 dev wg0
RTNETLINK answers: Permission denied
[#] ip link delete dev wg0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions