cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1193
Views
0
Helpful
0
Replies

TUNSETIFF error (Operation not permitted)

joseph.callea
Level 1
Level 1

Hi, I'm attempting to use VPNC on a custom Linux OS.  When I attempt to connect to the VPN via a .conf file I get an error.

I have tried using the default port and --local-port 0 but both result in error.  Both are ran under sudo.

Default port results in:

vpnc: Error binding to source port. Try '--local-port 0'
Failed to bind to 0.0.0.0:500: Permission denied

Local port 0 with:

vpnc: can't initialise tunnel interface: Operation not permitted

Attached are both the strace for local-port 0 attempt and default port attempt.

I see for the local port 0 it is an ioctl issue.

Any help would be appreciated.

Thanks,

-Joe

0 Replies 0