Giter VIP home page Giter VIP logo

vpnmanager's People

Contributors

barbayrak avatar

Stargazers

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

Watchers

 avatar  avatar

vpnmanager's Issues

I got error to config vpnManager

I coulden't config it , I didn't realize what is the id (you wrote "UNIQUE ID") and whats groupName as well.

//Create your VPN Account and configurations
let vpnAccount = VPNAccount(id: "UNIQUE ID", type: VPNProtocolType.IKEv2, title: "TITLE SEEN IN SETTINGS", server: "IP HERE", account: "bd2147240ab2471d", groupName: "Group Name Of Your VPN", remoteId: "Remote IP Address(Same most of the time)", alwaysOn: true)

and I got following error :

"Configuration Invalid"
here is my config line:

var vpnAccount = VPNAccount(id: "1", type: VPNProtocolType.IKEv2, title: "TITLE SEEN IN SETTINGS", server: "xxx.xx.xxx.xxx", account: "xxxxx", groupName: "{My_BUNDLE_ID}", remoteId: "xxx.xx.xxx.xxx", alwaysOn: true)

and I config pass and secret code like below:


 //Set your account password and secret
        vpnAccount.passwordRef = "xxxxxx".data(using: .utf8)
        //If you are using IPSec you can use this in order to set secret
        vpnAccount.secretRef = """
MIIFQjCCAyqgAwIBAgIIeB6GOr0OS80wDQYJKoZIhvcNAQEMBQAwPzELMAkGA1UE
BhMCVVMxEzARBgNVBAoTClZQTiBTZXJ2ZXIxGzAZBgNVBAMTElZQTiBTZXJ2ZXIg
Um9vdCBDQTAeFw0xOTAxMjAyMDMwMzJaFw0yOTAxMTcyMDMwMzJaMD8xCzAJBgNV
BAYTAlVTMRMwEQYDVQQKEwpWUE4gU2VydmVyMRswGQYDVQQDExJWUE4gU2VydmVy
IFJvb3QgQ0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDCDBZiI+BN
o2O1cwGiikcmj3P++Ce0n/7iVjJwEqex6J7mt9Ei3xRnEhJIOEglPJMURTGH61jw
......
QH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUHBH3UqueIcsxYc73oHc6qhe6
zQIwDQYJKoZIhvcNAQEMBQADggIBAIZBArrhE5MrA0i63is1bj6vlmpBfTIbA8AV
dTGdITDZcg+90jQoMqXaru1XBX/FNvIV9kydZdgezGE4B7mOngOP6XdJwESh/vdo
p7CXyyj9uByIlA70NizU+pTYeKequFvcxZYG99340SMxOl99mDdLFy8tkMQczLOA
jJlrz9CjiGo4Xsk1pxPnRb0qTLboen+vTukHrQAcUaaUySFF3e1q1xez1atF1wfr
7T3LyRJU5zvKD1izor0mA3/tnCZwHYKQ5Vgl2ZR/k4H+9/73F7rNUEhnYmK6aKeF
4pZgM9XFg5yfxfvZDEa4pLOKmWkGc6mOpyWuhNVotd9gG/YD2Sr8KCgyxKdmQFJp
g6cNWUGVHH+pE7R3kTku2WZjZjIUeAYZdU7sQyo+h6JvQPCaIj7YKIe8FsCpCBn1
7iEPuLIWxN4bGJtDbCxA/16YBEBBZ4mKYk51/v0YaLIrJhpqoyOXrS3QVXr9XoWC
Nx9iG39KzhCCsBT2aMDG5rc9O6KpVmD2xkr2VEq7S6NqI6/dA/49Sot9pBtDtBXc
U4Yqeart5YXLigwZ2cPOATEmv6SNIlp68eUVNK/sPg4gvdYbe6Or+0kBiScCKcH3
shfuLOjSTEIcedpQEy7bPttf8j64KZ4N7I9cut0Jelfww2K5QmNizytxgLBUQtad
zK6JxIWr
""".data(using: .utf8)

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.