Giter VIP home page Giter VIP logo

Comments (8)

davlxd avatar davlxd commented on June 10, 2024

from nepackettunnelvpndemo.

iambenmitchell avatar iambenmitchell commented on June 10, 2024

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.

iambenmitchell avatar iambenmitchell commented on June 10, 2024

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.

iambenmitchell avatar iambenmitchell commented on June 10, 2024

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.

iambenmitchell avatar iambenmitchell commented on June 10, 2024

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.

iambenmitchell avatar iambenmitchell commented on June 10, 2024

FIXED
I used this git: https://github.com/lxdcn/NEPacketTunnelVPNDemo

Now it says connected, however theres no 'VPN' in the status bar.

from nepackettunnelvpndemo.

iambenmitchell avatar iambenmitchell commented on June 10, 2024

and my ip is not changed

from nepackettunnelvpndemo.

iambenmitchell avatar iambenmitchell commented on June 10, 2024

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)

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.