Bug 3139 - Tunneling does not work on recent versions of macOS
Summary: Tunneling does not work on recent versions of macOS
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: 7.9p1
Hardware: All Mac OS X
: P5 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-20 10:34 AEDT by Jamie Schnaitter
Modified: 2020-03-20 10:34 AEDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jamie Schnaitter 2020-03-20 10:34:14 AEDT
Support for it was already tenuous, as I am assuming it was using the tuntaposx http://tuntaposx.sourceforge.net/ TUN/TAP driver which appears to be defunct (it was hard to maintain and Apple is "discouraging" development of KEXTs).

Darwin and thus macOS has had for a while "user tunnel" (utun) pseudodevices, which could be a solution to this.  Several VPN packages use this on macOS to provide their functionality, but I have not found much about it in relation to OpenSSH.

utun operates in user mode and presents a socket rather than a character device.  It is pretty well described in Chapter 17 of http://newosxbook.com/MOXiI.pdf , especially from page 682 (PDF page 718)