Go to file
Peter Georgeson 86c2ef7828 http proxy 2014-02-13 13:25:28 +11:00
LICENSE Initial commit 2013-11-21 18:52:28 -08:00
README.md http proxy 2014-02-13 13:25:28 +11:00
forward-tcp.py http proxy 2014-02-13 13:25:28 +11:00
forward-udp.py Initial commit 2013-11-22 14:02:40 +11:00
proxy.py http proxy 2014-02-13 13:25:28 +11:00

README.md

port-forwarder

Simple Python scripts to listen, log and forward network traffic

Usage

  • Use forward-tcp.py to forward TCP traffic

  • Use forward-udp.py to forward UDP traffic

  • Edit the file and set listen_host, listen_port, target_host, target_port

  • python forward-*.py

  • Output is written to stdout

  • proxy.py forwards HTTP traffic

Other Proxies

  • SMTP: python -m smtpd -c DebuggingServer -n localhost:25