Skip to content

PooSmacker/tcp-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tcp Proxy

Proxy your backend and protect it from DDoS attacks with this script.

Installation

Just copy and paste each step below.

1.  sudo apt update
2.  sudo apt upgrade
3.  sudo apt-get install libjson-c-dev libcurl4-openssl-dev
4.  git clone https://github.com/PooSmacker/tcp-proxy.git
5.  cd tcp-proxy
6.  gcc -o proxy proxy.c -ljson-c -lcurl

Usage

How to use:

1.  edit your config to include the port you would like to listen on, your backend ip and your backend port.
2.  to run type ./proxy config.json

OR

  1. Make the setup script runable
chmod +x setup_proxy.sh
  1. Run the setup script and enter the info.
./setup_proxy.sh

About

Proxy your backend!

Resources

Stars

Watchers

Forks

Packages

No packages published