diff options
author | Christian Pointner <equinox@spreadspace.org> | 2010-12-03 01:59:11 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2010-12-03 01:59:11 +0000 |
commit | 0d35aa8fcbd574f9a365bdda828d8f174be350d9 (patch) | |
tree | a55f8fa6e9d086e159ddcd1bdfbebafb1f2200ca /doc/tcpproxy.8.txt | |
parent | added flex and bison temporary files to svn:ignore (diff) |
added config file format to manpage
git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@28 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
Diffstat (limited to 'doc/tcpproxy.8.txt')
-rw-r--r-- | doc/tcpproxy.8.txt | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/doc/tcpproxy.8.txt b/doc/tcpproxy.8.txt index 14a12af..c6574d1 100644 --- a/doc/tcpproxy.8.txt +++ b/doc/tcpproxy.8.txt @@ -124,10 +124,22 @@ The following options can be passed to the *tcpproxy* daemon: is omitted. -EXAMPLES --------- +CONFIGURATION FILE +------------------ -nothing yet.. +If the configuratin file is used it should contain one or more of the following stanzas: + +.... +listen (*|address|hostname) (port-number|service-name) +{ + resolv: (ipv4|ipv6) + remote: (address|hostname) (port-number|service-name); + remote-resolv: (ipv4|ipv6); + source: (address|hostname); +}; +.... + +Everything between the curly brackets except for the *remote* parameter may be omitted. BUGS |