GithubHelp home page GithubHelp logo

vpn's Introduction

vpn's People

Contributors

kean avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vpn's Issues

Vmess protocal

Hello, may you help us understand how we can use the concept and connect to v2ray servers using vmess protocal in swift/ios. thank you!

split tunnel

Hello, any good ideas for implementing the split tunnel for NEPacketTunnelProvider? I don't want all the traffic going through the VPN

How to reconfigure NEPacketTunnelNetworkSettings on network changes?

Hi!

First of all, thank you, your code is super helpful.

I need to change the
tunSettings.dnsSettings = NEDNSSettings(servers: [])
based on the user current IP address (wifi or cellular ) -- I'm listen to network events with Reachability library and together with on-demand rules I thought I can simply do

reachability.whenReachable = { reachability in if reachability.connection == .wifi { self.stopTunnel(with: .none, completionHandler: {print("asdasd")}) } else { self.stopTunnel(with: .none, completionHandler: {print("asdasd")}) } }

but it doesn't stop the tunnel, when I debug it, I can see that it's been called , but the tunnel stays connected..

when I manually turn the connection off, the on-demand rules kick off and my startTunnel function called.

To summarize, I want to be able to reconfigure NEPacketTunnelNetworkSettings object every time the user changes his public ip.

Thank you very much!

Doesn't work startVPNTunnel

Hi,

Thank you for your repo and your blog. It is useful for me to study iOS and VPN system.

After reading your blog(https://kean.blog/post/vpn-configuration-manager), I tried to compile this repo on my Xcode.
But It didn't work correctly.
I debugged these codes and found out the point where it didn't work.

buttonStartTapped()
try tunnel.connection.startVPNTunnel

โ†‘(this point)

Of couse, I fixed Bundle identifier, and change com.github.kean.* to my app's settings. But it doesn't work...
Any help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.