n2n icon indicating copy to clipboard operation
n2n copied to clipboard

tuntap was deprecated by Apple since Apple silicon M1 chip

Open AielloChan opened this issue 4 years ago • 5 comments

http://tuntaposx.sourceforge.net/ image

And when I installed TunnelBlink on my m1 mac, start edge will give blow error:

image

Looks like I haven't installed tuntap successfully yet 🤷‍♂️

AielloChan avatar Sep 09 '21 11:09 AielloChan

@AielloChan Tunnelblick has a customed tuntaposx which supports macOS 11.0 and above.

You may install Tunnelblick, copy the .kext file then simply uninstall it. All you need is the signed tap kext file.

Before running edge, you need load the kernel extension via "kextload tuntap.kext".

Oliver0624 avatar Jan 05 '22 02:01 Oliver0624

There is a method you can try from the link: https://omniedge.io/docs/article/install/macoscli#for-m1-mac-user

Fast installation

  • Download and install Tunnelblick, install the tun/tap driver with the built-in script.

tuntap-by-tunnelblick

Slow but clean installation

  • Download https://github.com/Tunnelblick/Tunnelblick/tree/master/third_party/tap-notarized.kext
  • Download https://github.com/Tunnelblick/Tunnelblick/tree/master/third_party/tun-notarized.kext
  • Change the name to tap.kext and tap.kext,
  • Copy to /Library/Extensions
  • add net.tunnelblick.tap.plist and net.tunnelblick.tun.plist to /Library/LaunchDaemons/
  #net.tunnelblick.tap.plist
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  <plist version="1.0">
  <dict>
      <key>Label</key>
      <string>net.tunnelblick.tap</string>
      <key>ProgramArguments</key>
      <array>
          <string>/sbin/kextload</string>
          <string>/Library/Extensions/tap.kext</string>
      </array>
      <key>KeepAlive</key>
      <false/>
      <key>RunAtLoad</key>
      <true/>
      <key>UserName</key>
      <string>root</string>
  </dict>
  </plist>

  #net.tunnelblick.tun.plist
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  <plist version="1.0">
  <dict>
      <key>Label</key>
      <string>net.tunnelblick.tun</string>
      <key>ProgramArguments</key>
      <array>
          <string>/sbin/kextload</string>
          <string>/Library/Extensions/tun.kext</string>
      </array>
      <key>KeepAlive</key>
      <false/>
      <key>RunAtLoad</key>
      <true/>
      <key>UserName</key>
      <string>root</string>
  </dict>
  </plist>
  • Run sudo kextload /Library/Extensions/tap.kext in the terminal
  • restart Mac after allowing the security check.

yongqianme avatar Jun 01 '22 02:06 yongqianme

No more Tun/Tap drivers for using OmniEdge macOS GUI on M1/M2 MacBook !

Download from App Store https://apps.apple.com/us/app/omniedgenew/id1603005893

yongqianme avatar Jun 23 '22 01:06 yongqianme

I use kextload /Library/Extensions/tunnelblick-tap.kext

qianshengzj avatar Aug 04 '22 08:08 qianshengzj