prtunnel
prtunnel copied to clipboard
A program that tunnels TCP/IP connections in a variety of ways, including through HTTP and SOCKS5 proxy servers.
prtunnel tunnels TCP connections through an HTTP or SOCKS5 proxy server. It is useful if you're behind such a proxy and want to use a program that doesn't have native proxy support.
It's developed on Slackware Linux and OpenBSD (both x86), and should work on any other Unix-like system.
prtunnel was written by Josh Beam [email protected] and is distributed under a BSD-style license (see prtunnel.h or any other source file for the exact terms). The latest version can be found at http://joshbeam.com/software/prtunnel
Usage
prtunnel [options]
If run without the
Options:
-D Run as a daemon. prtunnel will run in the background
and accept multiple TCP connections with this option.
-V Verbose output (prints all data transferred to standard
output)
-c Use color to differentiate between incoming and outgoing
data in verbose output; without this, each line of outgoing
verbose output will begin with ">>> " and incoming output
with "<<< "
-6 Enables IPv6 mode. This doesn't affect the way outgoing
connections are made with the direct/direct6 tunneling
modes; direct will always connect with IPv4 and direct6
will always connect with IPv6.
-t
Here's an example: prtunnel -H proxy 6667 irc.freenode.net 6667 After starting prtunnel like this, you could then point an IRC client to 127.0.0.1, and prtunnel will attempt to connect you to irc.freenode.net via the HTTP proxy server on a system named "proxy".