Skip to content

kwakubiney/safehaven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

safehaven

  • Architecture architecture

How does it work

Checkout my blog post for implementation details.

Demo

Click here to watch demo

How to use?

  • Only available on Linux
Usage:
  -d string
        private network destination (default "10.108.0.2")
  -g    global
        routes all traffic to tunnel server
  -l string
        local address
  -s string
        remote server address (default "138.197.32.138")
  -srv
        server mode
  -tc string
        client tun device ip (default "192.168.1.100/24")
  -tname string
        tunname (default "tun0")
  -ts string
        server tun device ip (default "192.168.1.102/24")
  • Build the project.
  • Run using appropriate flags on client.
  • Run on server in server mode and also run sysctl -w net.ipv4.ip_forward=1 on server to allow IP forwarding.
  • ping destination address from client after setup & you should receive echo replies back.

NB: Your server must know how to reach the private network else your packet will get lost in the sauce on the server.

About

Proof of concept for a VPN over UDP

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages