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
- Host: GitHub
- URL: https://github.com/fffaraz/socatvpn
- Owner: fffaraz
- License: mit
- Created: 2024-02-18T06:59:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-23T06:10:44.000Z (over 2 years ago)
- Last Synced: 2025-03-03T14:12:18.805Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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
```