#What I learned by doing Tauri + Svelte mobile app

21 messages · Page 1 of 1 (latest)

dawn sail
crisp haven
#

@dawn sail Thank you, it's always interesting to see the integration of native Android/iOS/macOS code into Rust.
Can you tell me how feasible it is to implement VPN functionality in Tauri?
I only found this: https://github.com/JonForShort/android-local-vpn
There is a nuance in iOS: the local server to which traffic from TUN must be sent must be run inside Networking Extension. I would like the local server code with all its logic to be written in Rust, and it needs to be run in Swift somehow.
If you want to implement a VPN plugin, it will definitely be an interesting task.

GitHub

Android VPN implementation written in Rust. Contribute to JonForShort/android-local-vpn development by creating an account on GitHub.

dawn sail
crisp haven
dawn sail
#

there is workaround for wireguard
https://docs.amnezia.org/documentation/amnezia-wg/

AmneziaWG is a fork of [WireGuard-Go], inheriting the architectural simplicity and high performance of the original implementation, but eliminating the identifiable network signatures that make WireGuard easily detectable by Deep Packet Inspection (DPI) systems.

#

and it works for different platforms if you just need a workable solution of personal vpn

crisp haven
crisp haven
dawn sail
#

😮

#

Ok anyway I'm thinking about doing it but it is not quick

crisp haven
# dawn sail 😮

I looked at your code and didn't quite understand how you call native Android/iOS code in Rust? I don't see the use of swift-rs for iOS and any crate for Android.

dawn sail
crisp haven
crisp haven
#

Although it is probably possible. hmm

dawn sail
#

@crisp haven I dont know much about mac development . isnt it ios for moble and macos for laptops ?

crisp haven
dawn sail
crisp haven