forked from semigodking/redsocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathredsocks.8
53 lines (53 loc) · 1.83 KB
/
redsocks.8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH REDSOCKS 8 "November 14, 2011"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
redsocks \- rediect any TCP connection to a SOCKS or HTTP proxy
.SH SYNOPSIS
.B redsocks
.RI [ options ]
.SH DESCRIPTION
\fBredsocks\fP is a daemon running on the local system, that will transparently
tunnel any TCP connection via a remote SOCKS4, SOCKS5 or HTTP proxy server. It
uses the system firewall's redirection facility to intercept TCP connections,
thus the redirection is system-wide, with fine-grained control, and does
not depend on LD_PRELOAD libraries.
.PP
Redsocks supports tunneling TCP connections and UDP packets. It has
authentication support for both, SOCKS and HTTP proxies.
.PP
Also included is a small DNS server returning answers with the "truncated" flag
set for any UDP query, forcing the resolver to use TCP.
.SH OPTIONS
.TP
.B \-p pidfile
Write the process ID to \fIpidfile\fP.
.TP
.B \-c config
Use \fIconfig\fP as configuration file.
.TP
.B \-t
Test configuration file syntax.
.SH SEE ALSO
.BR iptables (8),
/etc/redsocks.conf
.br
.SH AUTHOR
redsocks was written by Leonid Evdokimov <[email protected]>
.PP
This manual page was written by Apollon Oikonomopoulos <[email protected]>,
for the Debian project (and may be used by others).