Comments (8)
from nepackettunnelvpndemo.
Hi, turns out it was because I didn't have a (Paid) developer apple ID, been meaning to get one for a while now.
So I bought one
But now I am facing another issue, maybe you can help :)
I'll get a log in a sec
from nepackettunnelvpndemo.
Sorry, The last issue was fixed by turning the capabilities on and off, but now I face this:
VPN Status changed:
Invliad
Save successfully
Go!
VPN Status changed:
Disconnected...
VPN Status changed:
Connecting...
VPN Status changed:
Disconnected...
from nepackettunnelvpndemo.
when I press connect:
VPN Status changed:
Invliad
VPN Status changed:
Disconnected...
Save successfully
Go!
VPN Status changed:
Connecting...
VPN Status changed:
Disconnected...
Config:
// Hard code VPN configurations
let tunnelBundleId = "tech.pyron.proxy.app1"
let serverAddress = "p1.proxy.pyron.tech"
let serverPort = "54345"
let mtu = "1400"
let ip = "10.8.0.0"
let subnet = "255.255.255.0"
let dns = "8.8.8.8,8.4.4.4"
from nepackettunnelvpndemo.
terminal (remote ubuntu server)
root@p1 ~/test/simple-vpn-demo # ./vpn
Execute ifconfig tun0 10.8.0.1/16 mtu 1400 up
Execute sysctl -w net.ipv4.ip_forward=1
net.ipv4.ip_forward = 1
Execute iptables -t nat -A POSTROUTING -s 10.8.0.0/16 ! -d 10.8.0.0/16 -m comment --comment 'vpndemo' -j MASQUERADE
Execute iptables -A FORWARD -s 10.8.0.0/16 -m state --state RELATED,ESTABLISHED -j ACCEPT
Execute iptables -A FORWARD -d 10.8.0.0/16 -j ACCEPT
from nepackettunnelvpndemo.
FIXED
I used this git: https://github.com/lxdcn/NEPacketTunnelVPNDemo
Now it says connected, however theres no 'VPN' in the status bar.
from nepackettunnelvpndemo.
and my ip is not changed
from nepackettunnelvpndemo.
I fixed it by removing the <> where the IP was. IE <9.8.8.8.8> is now 9.8.8.8.8
from nepackettunnelvpndemo.
Related Issues (20)
- 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.