tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Non-root tun-over-ssh?

On Sep 19, 2011, at 4:41 PM, John Klos wrote:
> I've set up and used tunnels over ssh in many places and they're very useful. 
> However, sometimes I'd like to be able to use them without needing root. I 
> tried changing ownership of tun devices to another user, but sshd doesn't 
> like that:
> channel 0: open failed: administratively prohibited: open failed
> Does anyone know how I can use tunnels over OpenSSH with non-root users?

Use sudo?

Setting up a tunnel involves changing the routing table, which should only be 
done by something with superuser permissions (regardless of the ownership of 
/dev/tun* devices)...


Home | Main Index | Thread Index | Old Index