├── .gitignore ├── Client ├── AppDelegate.swift ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── Contents.json ├── Base.lproj │ └── LaunchScreen.storyboard ├── Client-Bridging-Header.h ├── Client.entitlements ├── Info.plist ├── Module │ ├── ConfigView │ │ ├── ConfigView.swift │ │ └── ConfigViewModel.swift │ └── PacketView │ │ └── PacketView.swift ├── Preview Content │ └── Preview Assets.xcassets │ │ └── Contents.json ├── SceneDelegate.swift └── Service │ ├── Component │ ├── YYAlertButton.swift │ └── YYListView.swift │ └── View+YYLib.swift ├── LICENSE ├── README.md ├── Server ├── AppDelegate.swift ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── Contents.json ├── Base.lproj │ └── Main.storyboard ├── ContentView.swift ├── Info.plist ├── Preview Content │ └── Preview Assets.xcassets │ │ └── Contents.json ├── Server-Bridging-Header.h ├── Server.entitlements ├── Server │ ├── YYServer.h │ ├── YYServer.m │ ├── linux │ │ ├── if.h │ │ └── if_tun.h │ ├── udp_client.c │ ├── udp_client.h │ ├── udp_server.c │ ├── udp_server.h │ └── vpn_server.c └── YYListView.swift ├── Tunnel ├── Info.plist ├── PacketTunnelProvider.swift ├── Tunnel-Bridging-Header.h └── Tunnel.entitlements ├── YYVPN.xcodeproj ├── project.pbxproj └── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ └── IDEWorkspaceChecks.plist └── YYVPNLib ├── YYDarwinNotificationManager.h ├── YYDarwinNotificationManager.m ├── YYVPNManager.Config.swift ├── YYVPNManager.Extension.swift ├── YYVPNManager.Notification.swift └── YYVPNManager.swift /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/.gitignore -------------------------------------------------------------------------------- /Client/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/AppDelegate.swift -------------------------------------------------------------------------------- /Client/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Client/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Client/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /Client/Client-Bridging-Header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/Client-Bridging-Header.h -------------------------------------------------------------------------------- /Client/Client.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/Client.entitlements -------------------------------------------------------------------------------- /Client/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/Info.plist -------------------------------------------------------------------------------- /Client/Module/ConfigView/ConfigView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/Module/ConfigView/ConfigView.swift -------------------------------------------------------------------------------- /Client/Module/ConfigView/ConfigViewModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/Module/ConfigView/ConfigViewModel.swift -------------------------------------------------------------------------------- /Client/Module/PacketView/PacketView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/Module/PacketView/PacketView.swift -------------------------------------------------------------------------------- /Client/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Client/SceneDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/SceneDelegate.swift -------------------------------------------------------------------------------- /Client/Service/Component/YYAlertButton.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/Service/Component/YYAlertButton.swift -------------------------------------------------------------------------------- /Client/Service/Component/YYListView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/Service/Component/YYListView.swift -------------------------------------------------------------------------------- /Client/Service/View+YYLib.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Client/Service/View+YYLib.swift -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/README.md -------------------------------------------------------------------------------- /Server/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/AppDelegate.swift -------------------------------------------------------------------------------- /Server/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Server/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Server/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /Server/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/ContentView.swift -------------------------------------------------------------------------------- /Server/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Info.plist -------------------------------------------------------------------------------- /Server/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Server/Server-Bridging-Header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Server-Bridging-Header.h -------------------------------------------------------------------------------- /Server/Server.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Server.entitlements -------------------------------------------------------------------------------- /Server/Server/YYServer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Server/YYServer.h -------------------------------------------------------------------------------- /Server/Server/YYServer.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Server/YYServer.m -------------------------------------------------------------------------------- /Server/Server/linux/if.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Server/linux/if.h -------------------------------------------------------------------------------- /Server/Server/linux/if_tun.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Server/linux/if_tun.h -------------------------------------------------------------------------------- /Server/Server/udp_client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Server/udp_client.c -------------------------------------------------------------------------------- /Server/Server/udp_client.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Server/udp_client.h -------------------------------------------------------------------------------- /Server/Server/udp_server.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Server/udp_server.c -------------------------------------------------------------------------------- /Server/Server/udp_server.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Server/udp_server.h -------------------------------------------------------------------------------- /Server/Server/vpn_server.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/Server/vpn_server.c -------------------------------------------------------------------------------- /Server/YYListView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Server/YYListView.swift -------------------------------------------------------------------------------- /Tunnel/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Tunnel/Info.plist -------------------------------------------------------------------------------- /Tunnel/PacketTunnelProvider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Tunnel/PacketTunnelProvider.swift -------------------------------------------------------------------------------- /Tunnel/Tunnel-Bridging-Header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Tunnel/Tunnel-Bridging-Header.h -------------------------------------------------------------------------------- /Tunnel/Tunnel.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/Tunnel/Tunnel.entitlements -------------------------------------------------------------------------------- /YYVPN.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/YYVPN.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /YYVPN.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/YYVPN.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /YYVPN.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/YYVPN.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /YYVPNLib/YYDarwinNotificationManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/YYVPNLib/YYDarwinNotificationManager.h -------------------------------------------------------------------------------- /YYVPNLib/YYDarwinNotificationManager.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/YYVPNLib/YYDarwinNotificationManager.m -------------------------------------------------------------------------------- /YYVPNLib/YYVPNManager.Config.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/YYVPNLib/YYVPNManager.Config.swift -------------------------------------------------------------------------------- /YYVPNLib/YYVPNManager.Extension.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/YYVPNLib/YYVPNManager.Extension.swift -------------------------------------------------------------------------------- /YYVPNLib/YYVPNManager.Notification.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/YYVPNLib/YYVPNManager.Notification.swift -------------------------------------------------------------------------------- /YYVPNLib/YYVPNManager.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgcym1234/YYVPN/HEAD/YYVPNLib/YYVPNManager.swift --------------------------------------------------------------------------------