This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run as 'nginx -p . -c ssl_proxy.config' | |
daemon off; | |
http { | |
server { | |
listen localhost:8443; | |
server_name localhost; | |
ssl on; | |
ssl_certificate ../pooling-ui/certs/server.crt; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frontend www | |
bind *:80 | |
mode tcp | |
acl network_allowed src 1.1.1.1 2.2.2.2 | |
tcp-request connection reject if !network_allowed | |
use_backend my_backend_server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run as 'nginx -p . -c ssl_proxy.config' | |
daemon off; | |
http { | |
server { | |
listen localhost:8443; | |
server_name localhost; | |
ssl on; | |
ssl_certificate ../pooling-ui/certs/server.crt; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Linux configuration script | |
## Create the `proxy_http` file containing your http proxy: | |
# https://username:[email protected]:8080 | |
## Can be automatically started in `.bashrc` | |
## with `source autoconfig.sh &> /dev/null` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Globalization; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Socks | |
{ | |
public static class Socks5 |