https://github.com/jorbush/cibervpn
https://github.com/jorbush/cibervpn
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jorbush/cibervpn
- Owner: jorbush
- Created: 2022-04-16T15:24:21.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-07T11:49:03.000Z (about 4 years ago)
- Last Synced: 2025-02-01T02:16:39.714Z (over 1 year ago)
- Language: C
- Size: 3.42 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
*************************************************
* vpnserver.c vpn server program via UDP
* vpnclient.c vpn client program via UDP
************************************************
--------------------------
To compile the compile:
--------------------------
$ make
--------------------------
To run the server:
--------------------------
$ sudo ./vpnserver
--------------------------
To run the client:
--------------------------
First change the SERVER_IP in vpnclient.c to match with the server's ip.
$ sudo ./vpnclient
Note: You also need to configure the TUN interfaces on both sides
and set up routings. See the lab description for instructions.