summaryrefslogtreecommitdiff
path: root/example.conf
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2010-12-03 01:40:38 +0000
committerChristian Pointner <equinox@spreadspace.org>2010-12-03 01:40:38 +0000
commite499866cde13bb04b65e4aaac4f229cd8811f7f4 (patch)
treee0a18657f6bb8b74398ec43f7bbadb949f4724c0 /example.conf
parentremoved useless source address resolving type option (diff)
added config file parser
git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@24 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
Diffstat (limited to 'example.conf')
-rw-r--r--example.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/example.conf b/example.conf
new file mode 100644
index 0000000..647fd44
--- /dev/null
+++ b/example.conf
@@ -0,0 +1,12 @@
+listen * 8000
+{
+ remote: www.google.at 80;
+ remote-resolv: ipv6;
+ source: 2a02:3e0:2002:1:215:58ff:fe31:2ce7;
+};
+
+listen 2a02:3e0:2002:1:215:58ff:fe31:2ce7 xmpp-server
+{
+ remote: www.google.at www;
+ remote-resolv: ipv4;
+};