Comments (3)
VPN is a general term, which has many different implementations and protocols, openVPN is just one of them. If you are using openVPN on server side, you have to implement the whole openVPN protocol on iOS side, the code you pasted is far from enough. And my repo here is just a simplest possible implementation of VPN, and its corresponding server side implementation is in this repo.
from nepackettunnelvpndemo.
Thanks for your response.
You can see my source openvpn
The openvpn core ios side worked well. However, I'm having trouble determining PacketTunnel.
i want to ask you with such information how i need to setup packet tunnel.
Same as on windows or linux. For openvpn, after implementing openvpn protocol, we just need to add the route table is complete. I think on ios too. The problem is set route packets.
Look forward to your response
from nepackettunnelvpndemo.
You are using includedRoutes
which is pretty much how routing is done on iOS platform, there could be many reasons why your routing doesn't work. My suggestion is try using includedRoutes and excludedRoutes back and forth and see whether something different happens, and also the default routing NEIPv4Route.default()
from nepackettunnelvpndemo.
Related Issues (20)
- {NSLocalizedDescription=permission denied} HOT 8
- Connects but IP the same HOT 2
- More than one server? HOT 2
- Select Ip HOT 2
- 能不能加你,我好多问题 想要问你 HOT 2
- Resolve Hostname to IP HOT 1
- Thanks for providing this demo HOT 1
- After Connection Ip address still same as before connection HOT 3
- Integration
- iOS client stuck in "Connecting" HOT 3
- How to parse IP into let = ServerAddress
- Hello lxdcn HOT 2
- ios12显示 update required,不能连接vpn server,不知如何解决 HOT 7
- how to get amount of data which was uploaded and downloaded?? HOT 2
- How to debug extension? HOT 1
- Encryption. HOT 1
- vpn调试 HOT 1
- Username+Password
- DNS only? HOT 2
- IPv6 traffic support? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nepackettunnelvpndemo.