From e3f24011c0e95a67d673b43348202b7751574474 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 1 Jul 2011 21:30:28 +0000 Subject: testcase for nat test code --- src/nat/test_nat_test_data.conf | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/nat/test_nat_test_data.conf (limited to 'src/nat/test_nat_test_data.conf') diff --git a/src/nat/test_nat_test_data.conf b/src/nat/test_nat_test_data.conf new file mode 100644 index 000000000..41324bb0a --- /dev/null +++ b/src/nat/test_nat_test_data.conf @@ -0,0 +1,43 @@ +[PATHS] +SERVICEHOME = /tmp/nat-test +# SERVICEHOME = /var/lib/gnunet/ +# DEFAULTCONFIG = /etc/gnunet.conf +# If 'DEFAULTCONFIG' is not defined, the current +# configuration file is assumed to be the default, +# which is what we want by default... + +[gnunet-nat-server] +HOSTNAME = localhost +PORT = 12345 + +[nat] +# Are we behind NAT? +BEHIND_NAT = YES + +# Is the NAT hole-punched? +PUNCHED_NAT = NO + +# Disable UPNP by default until it gets cleaner! +ENABLE_UPNP = YES + +# Use addresses from the local network interfaces (inluding loopback, but also others) +USE_LOCALADDR = YES + +# External IP address of the NAT box (if known); IPv4 dotted-decimal ONLY at this time (should allow DynDNS!) +# normal interface IP address for non-NATed peers; +# possibly auto-detected (using UPnP) if possible if not specified +# EXTERNAL_ADDRESS = + +# Should we use ICMP-based NAT traversal to try connect to NATed peers +# or, if we are behind NAT, to allow connections to us? +ENABLE_ICMP_CLIENT = YES +ENABLE_ICMP_SERVER = YES + +# IP address of the interface connected to the NAT box; IPv4 dotted-decimal ONLY; +# normal interface IP address for non-NATed peers; +# likely auto-detected (via interface list) if not specified (!) +INTERNAL_ADDRESS = 127.0.0.1 + +# Disable IPv6 support +DISABLEV6 = YES +x -- cgit v1.2.3