diff options
author | t3sserakt <t3ss@posteo.de> | 2023-01-18 10:00:47 +0100 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2023-01-18 10:00:47 +0100 |
commit | c524f91a6250a2b22da30cd7efbec817c2d8568d (patch) | |
tree | 4e4d0a34d3eea8166025379bd3b989a869806fa0 /contrib | |
parent | 8e1bf27b112d8b46230336305f523393590cc575 (diff) | |
download | gnunet-c524f91a6250a2b22da30cd7efbec817c2d8568d.tar.gz gnunet-c524f91a6250a2b22da30cd7efbec817c2d8568d.zip |
TNG: miniupnpd only works with public IP addresses.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/netjail/netjail_start.sh | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/contrib/netjail/netjail_start.sh b/contrib/netjail/netjail_start.sh index 6036ecbdc..e68745746 100755 --- a/contrib/netjail/netjail_start.sh +++ b/contrib/netjail/netjail_start.sh | |||
@@ -24,8 +24,17 @@ fi | |||
24 | shift 2 | 24 | shift 2 |
25 | 25 | ||
26 | LOCAL_GROUP="192.168.15" | 26 | LOCAL_GROUP="192.168.15" |
27 | GLOBAL_GROUP="172.16.150" | 27 | GLOBAL_GROUP="92.68.150" |
28 | KNOWN_GROUP="172.16.151" | 28 | KNOWN_GROUP="92.68.151" |
29 | # Use the IP addresses below instead of the public ones, | ||
30 | # if the script was not started from within a new namespace | ||
31 | # created by unshare. The UPNP test case needs public IP | ||
32 | # addresse for miniupnpd to function. | ||
33 | # FIXME The ip addresses are used in the c code too. We should | ||
34 | # introduce a switch indicating if public addresses should be | ||
35 | # used or not. This info has to be propagated to the c code. | ||
36 | #GLOBAL_GROUP="172.16.150" | ||
37 | #KNOWN_GROUP="172.16.151" | ||
29 | 38 | ||
30 | if [ $BROADCAST -eq 0 ]; then | 39 | if [ $BROADCAST -eq 0 ]; then |
31 | PORT="60002" | 40 | PORT="60002" |