Apple Store:
https://apps.apple.com/us/app/happynet/id6448507986
Forked from hin2n-ios
This is a tiny iOS implementation of n2n.
- It works as a n2n edge to connect to supernode. It works on iOS device which need NOT be jailbreaked.
- It supports n2n v3
- To compile and run this APP, you MUST have an Apple developer account and have the Network-Extension entitlement.
some problems which are already known:
- It does NOT support the iOS emulator in xcode.
- If you switch to another app and switch back, the connection status may be temporarily abnormal.
- If you select the other VPN in system configuration, then click connect button in app, it will fail and network service will be abnormal after you click disconnect button.
- missing legality checking of some parameters.
- Click the "+" button in the top right corner to create a configuration.
- add params:
- Setting Name: Configuration Name
- supernode: sueprnode address, such as "server.happyn.net:7654"
- community: the community id
- Encryption: Encryption Key (the Default Encryption Method is AES, you can set it in
more settings) - ip address: your edge ip address, such as 10.0.0.1
- subnetmask: such as 255.255.255.0
- device name: default is happynios
- Save the configuration, go back to the previous level interface, click on the
>icon on the interface, and select service configuration. - return to the main View, client
StartButton
此项目同步于hin2n-ios
此为n2n的一个iOS简易实现。希望能在原项目基础上,开发一个兼容N2N v3以及happyn.net服务的APP,同时上架Apple Store;
- 它实现了在iOS设备(无需越狱)下作为edge工作,能够连接到supernode以实现NAT穿透。
- 支持n2n V3协议
- 如果要编译,您必须拥有一个苹果开发者账号且确保申请了Network-Extension的权限。
部分已知问题:
- 不支持使用Xcode中的模拟器运行这个程序。
- 切出再切入APP,则连接状态会短暂地显示不正常。
- 如果用户选择了其他非happyn的VPN,则点击连接按钮时会连接失败;再断开之后,就无法上网了。
- 未对部分参数做合法性判断
- 用基本配置连接成功N2N V3 Supernode
- 重构代码,界面上只支持N2N V3
- 加入 hin2n-ios的原始项目链接,致谢
- 同步happyn的N2N V3上游代码
- 加入happyn icon
- 上架Apple Store
