cowrie/docs/squid
Michel Oosterhof 0d2817a38b
Fixes2 (#1802)
* add pylint. fix variable names
* add ruff. remove twistedchecker
* update pre-commit
* update hadolint. ruff mandatory in tox
* add pyright as optional
* add coverage
* typing
* fix telnet
* fix #1757
2023-01-07 22:09:09 +08:00
..
README.rst Fixes2 (#1802) 2023-01-07 22:09:09 +08:00
squid.conf doc/ -> docs/ 2018-07-20 22:12:30 +04:00

README.rst

Using TCP tunneling with Squid
#################################

Squid Prerequisites
===================

* Working Cowrie installation
* Working Squid installation with CONNECT allowed
* Rate limit and black/white lists in Squid (optional)

Squid Installation
==================

Install Squid::

     $ sudo apt-get install squid

Squid Configuration
===================

See ``squid.conf`` for an example configuration.

Cowrie Configuration for Squid
==============================

Uncomment and update the following entries to ``etc/cowrie.cfg`` under the SSH section::

    [ssh]
    forward_tunnel = true
    forward_tunnel_80 = 127.0.0.1:3128
    forward_tunnel_443 = 127.0.0.1:3128

## Restart Cowrie

Restart::

    $ bin/cowrie restart