tcpgate 0.0.2 review

Download
by rbytes.net on

I wrote this to be able to access a news server that would not allow me to connect from my machine, but would from another that I had

License: Freeware
File size: 2K
Developer: Sasha Pachev
0 stars award from rbytes.net

I wrote this to be able to access a news server that would not allow me to connect from my machine, but would from another that I had access to.

tcpgate is a daemon that listens on a port for connections, and when the connection is made, proxies/bounces it to the host/port pair specified in the config file unmodified. Very simple, but very useful when you need to get around a bad route/firewall. Latest version has IP-based access control option.

Installation:

install libtcp++
gunzip -c tcpgate-0.0.1.tar.gz | tar xvf -
make tcpgate

Usage:

./tcpgate config_file

example of config_file

to_port 119
to_host news.mydomain.com
port 1234
log_file tcpgate.log
ip_rules_file site.rules

to_port - port to which the packets are proxied,
to_host - the host to which the packets are proxied,
port - port that tcpgate listens on
log_file - file where tcpgate writes the log :)
ip_rules_file - if present, enables IP-based access control, and must contain a set
of allow rules. Any host not matched by those rules will be denied connection.

Example

of ip_rules_file:

127.0.0.1/255.255.255.255
128.187.0.0/255.255.0.0

The above example will allow localhost to connect, as well as any machine coming from 128.187.0.0 subnet

What's New in This Release:
added ip-based access control

tcpgate 0.0.2 search tags