tun2proxy / rust-tun

TUN device creation and handling.
https://docs.rs/tun2/
30 stars 13 forks source link

question on IOS #68

Closed szguoxz closed 1 month ago

szguoxz commented 1 month ago

This is rather a IOS question instead of tun question, so it's a little bit out of topic here.

If I want to create a VPN in IOS, it seems like I do not need to create a tun at all? Since IOS has network extension, that can forward me the packets directly?

Thanks.

ssrlive commented 1 month ago

https://github.com/tun2proxy/rust-tun/blob/bb721ba79f5ad2d0869f1c3f4df670e44fa89a56/README.md?plain=1#L114-L134

szguoxz commented 1 month ago

So we don't actually assign an IP to it?

ssrlive commented 1 month ago

Why you want to assign an IP to it? I know you want to make a VPN app, you should select my tun2proxy rather than tun2.