Swiftpack.co -  OperatorFoundation/Tun as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
utun interface for Swift
.package(url: "https://github.com/OperatorFoundation/Tun.git", from: "0.0.10")


WARNING: This library is currently not for use in production environments

##Tun Tun is a Swift an experimental library providing methods for creating Tun interfaces and setting routing, nat and forwarding to enable a VPN on Linux

##TunTesterCli TunTesterCli is a basic VPN implementation which forwards IP packets between a client and server over a TCP connection. Currently only supports a single client.


##Tested on:
Ubuntu 18.04.5 LTS (bionic) with Swift 5.2.4


###Best known IDE on Linux:

###Running swift tests on Linux:

###Further reading on how VPNs work using Tun devices:
Computer & Internet Security by Wenliang Du 2nd Edition - ISBN 978-1733003933

VPN Lab (Bypassing Firewalls using a VPN) for book including C source code:

Online video course:


Stars: 2
Last commit: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

0.0.10 - Updated Dependencies
8 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API