/ProxyServer

Reverse proxy server

Primary LanguageNimMIT LicenseMIT

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.