An open API service indexing awesome lists of open source software.

https://github.com/fffaraz/socatvpn

Secure yet simple VPN tunnel using socat and openssl
https://github.com/fffaraz/socatvpn

Last synced: 11 months ago
JSON representation

Secure yet simple VPN tunnel using socat and openssl

Awesome Lists containing this project

README

          

# SocatVPN
Secure yet simple VPN tunnel using socat and openssl (SOCKS5 over TLS)

1. Download `socatvpn.sh` and make it executable on both the server and client:
```
wget https://raw.githubusercontent.com/fffaraz/socatvpn/main/socatvpn.sh
chmod +x socatvpn.sh
./socatvpn.sh install
```

2. Generate a private key and certificate for both the server and client on the server:
```
./socatvpn.sh cert
```

3. Copy `./cert/client.crt` and `./cert/client.key` to the client.

4. Run the server:
```
./socatvpn.sh server 443
```

5. Run the client:
```
./socatvpn.sh client SERVER_IP:443
```