Skip to content

w1jtoo/ProxyServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxy-server

Reverse HTTP proxy server written in nim. Made due to Internet Protocols course in second year study of Institute of Mathematics and Mechanics UrFU.

Work on: Linux, Windows.

Review

Download

Download binaries from github release page.

Build

Proxy can be easy compiled by python build script:

git clone https://github.com/w1jtoo/ProxyServer
cd ProxyServer
py build.py

Using only nim package manager:

nimble build

Getting started

Run proxy with IP 127.0.0.1 and port 25580:

./ProxyServer 127.0.0.1 25580

Or just run proxy using default params:

./ProxyServer

Configuration

Run with configuration file using --config run option:

./ProxyServer --config

Now config.yaml should be in same dir as executable file.

Fields:

  • banAddresses - contains list of addresses that proxy will not serve.