View Source tunctl_linux (tunctl v0.3.5)
tunctl behaviour for Linux.
For IPv4 addresses, beam needs to have privileges to configure interfaces.
To add cap_net_admin capabilities:
sudo setcap cap_net_admin=ep /path/to/bin/beam.smpTo check the privileges:
getcap /path/to/bin/beam.smpTo remove the privileges:
sudo setcap -r cap_net_admin=ep /path/to/bin/beam.smpCurrently, IPv6 addresses are configured by calling ifconfig using sudo (see below).