![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
SSH and tun devices: which one?
Is there some way to determine the id of a tun device allocated by ssh on
the server side when the -w option is used? I'd hoped for a nice easy environment variable, but no such luck. I do note that an "lsof -p $PPID | fgrep /dev/net/tun" identifies the open file descriptor. But I've not yet found a way to map this to the tun device. I know that the device can be *specified* with the -w option, but I'm hoping to avoid having to "preallocate" devices to users. Any suggestions? Thanks...Andrew |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|