From 67d0b8c3b28df35e5a1ce6c45205cbc2b0672ac2 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Fri, 13 Jul 2012 11:37:37 +0000 Subject: [PATCH] - fix tests in offline situations --- src/mesh/test_mesh_2dtorus.conf | 1 + src/mesh/test_mesh_path.conf | 10 ++++++++++ src/mesh/test_mesh_small.conf | 1 + 3 files changed, 12 insertions(+) diff --git a/src/mesh/test_mesh_2dtorus.conf b/src/mesh/test_mesh_2dtorus.conf index 5dc4613e0..5d91a8b43 100644 --- a/src/mesh/test_mesh_2dtorus.conf +++ b/src/mesh/test_mesh_2dtorus.conf @@ -38,6 +38,7 @@ BEHIND_NAT = NO ALLOW_NAT = NO INTERNAL_ADDRESS = 127.0.0.1 EXTERNAL_ADDRESS = 127.0.0.1 +RETURN_LOCAL_ADDRESSES = YES [ats] WAN_QUOTA_IN = 1 GB diff --git a/src/mesh/test_mesh_path.conf b/src/mesh/test_mesh_path.conf index c3d8a2c93..82bb3e02a 100644 --- a/src/mesh/test_mesh_path.conf +++ b/src/mesh/test_mesh_path.conf @@ -40,6 +40,16 @@ PORT = 12365 WAN_QUOTA_OUT = 3932160 WAN_QUOTA_IN = 3932160 +[nat] +DISABLEV6 = YES +BINDTO = 127.0.0.1 +ENABLE_UPNP = NO +BEHIND_NAT = NO +ALLOW_NAT = NO +INTERNAL_ADDRESS = 127.0.0.1 +EXTERNAL_ADDRESS = 127.0.0.1 +RETURN_LOCAL_ADDRESSES = YES + [core] PORT = 12092 diff --git a/src/mesh/test_mesh_small.conf b/src/mesh/test_mesh_small.conf index 75af8b135..179264458 100644 --- a/src/mesh/test_mesh_small.conf +++ b/src/mesh/test_mesh_small.conf @@ -40,6 +40,7 @@ BEHIND_NAT = NO ALLOW_NAT = NO INTERNAL_ADDRESS = 127.0.0.1 EXTERNAL_ADDRESS = 127.0.0.1 +RETURN_LOCAL_ADDRESSES = YES [ats] WAN_QUOTA_IN = 1 GB -- 2.25.1