Skip to content

Instantly share code, notes, and snippets.

View imclint21's full-sized avatar

clint21.eth ⚡️ imclint21

View GitHub Profile
@paulswartz
paulswartz / ssl_proxy.config
Created October 14, 2014 18:01
SSL Forwarding Proxy w/ nginx
# 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;
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
@imclint21
imclint21 / ssl_proxy.config
Created July 16, 2019 14:41 — forked from paulswartz/ssl_proxy.config
SSL Forwarding Proxy w/ nginx
# 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;
@rigwild
rigwild / autoconfig.sh
Last active November 4, 2019 10:54
Configure a linux machine with a http proxy and nodejs
#!/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`
@zHaytam
zHaytam / Socks5.cs
Last active November 5, 2024 07:51
A Socks5 implementation in .NET Core (C# 8)
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