tun0 interface only useable by root

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
GNUGradyn
OpenVpn Newbie
Posts: 2
Joined: Mon Oct 15, 2018 1:40 am

tun0 interface only useable by root

Post by GNUGradyn » Thu May 06, 2021 4:59 pm

If I do `curl ipinfo.io --interface tun0`, it will hang forever. but if I do `sudo curl ipinfo.io --interface tun0`, it will work as expected. How can i make tun0 useable by non root users?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: tun0 interface only useable by root

Post by TinCanTech » Thu May 06, 2021 5:50 pm

GNUGradyn wrote:
Thu May 06, 2021 4:59 pm
If I do `curl ipinfo.io --interface tun0`, it will hang forever.
Sounds like a curl bug .. I believe you should get EACCES

Post Reply