# Name of the "real" interface that IPv4 traffic from this system will
# leave from; this is the name of the interface where we need to
# enable NAT on postrouting (typically something like 'eth0' or 'eth1'
-# or 'wlan0'). Not needed if EXIT_IPv4 is disabled.
+# or 'wlan0'). Not needed if EXIT_IPv4 is disabled AND if all
+# offered services run on 'localhost'. In this case, the value
+# of the option can instead be set to "%" (to not enable NAT on any
+# interface).
EXIT_IFNAME = eth0
# Set this to YES to allow exiting this system via IPv4 to the Internet
return;
}
exit_argv[1] = tun_ifname;
- if (ipv4_exit)
+ if (ipv4_enabled)
{
if (GNUNET_SYSERR ==
GNUNET_CONFIGURATION_get_value_string (cfg, "exit", "EXIT_IFNAME", &exit_ifname))