Total Pageviews

Sunday, 22 September 2019

miniVPN

 客户端程序仅支持linux桌面系统。
The design and implementation of TLS/SSL VPNs exemplify a number of security principles, including the following: Virtual Private Network , TUN/TAP, IP tunneling ,Routing ,Public-key cryptography, PKI, X.509 certificate ,TLS/SSL programming ,Authentication 




* vpnserver.c vpn server program via UDP  
* vpnclient.c vpn client program via UDP 

To 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.
 
from https://github.com/jashwanth/miniVPN/tree/master/miniVPN 

No comments:

Post a Comment