Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mutalisk999/tls-proxy-py
Socks5 proxy on TLS tunnel
https://github.com/mutalisk999/tls-proxy-py
socks5-proxy tls
Last synced: 2 months ago
JSON representation
Socks5 proxy on TLS tunnel
- Host: GitHub
- URL: https://github.com/mutalisk999/tls-proxy-py
- Owner: mutalisk999
- License: mit
- Created: 2022-09-20T14:08:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-08T15:17:25.000Z (about 2 years ago)
- Last Synced: 2024-07-30T20:54:35.888Z (5 months ago)
- Topics: socks5-proxy, tls
- Language: Python
- Homepage:
- Size: 51.8 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tls-proxy-py
### How to generate cert file and key file
```
mkdir certs
rm certs/*# CA key and cert
openssl genrsa -out certs/ca.key 2048
openssl req -new -key certs/ca.key -out certs/ca.csr
openssl x509 -req -in certs/ca.csr -out certs/ca.pem -signkey certs/ca.key -CAcreateserial -days 36500# for tls server
openssl genrsa -out certs/server.key 2048
openssl req -new -key certs/server.key -out certs/server.csr
openssl x509 -req -in certs/server.csr -out certs/server.pem -signkey certs/server.key -CA certs/ca.pem -CAkey certs/ca.key -CAcreateserial -days 36500# for tls client
openssl genrsa -out certs/client.key 2048
openssl req -new -key certs/client.key -out certs/client.csr
openssl x509 -req -in certs/client.csr -out certs/client.pem -signkey certs/client.key -CA certs/ca.pem -CAkey certs/ca.key -CAcreateserial -days 36500
```### Client
* Modify client.json
```
cp client_example.json client.json
```### Server
* Modify server.json
```
cp server_example.json server.json
```