{
    my $internalif = $InternalInterface{Name};
    my $outerif = $ExternalInterface{Name};

    $OUT .= <<HERE;

    INTERNALIF=$internalif
    OUTERIF=$outerif
    OUTERNET=\$\(/sbin/e-smith/db configuration get ExternalIP\)
    if [ -z "\$OUTERNET" ]
    then
	# Make sure that OUTERNET value is set to syntactly valid value
	# to ensure that iptables syntax is at least correct
	OUTERNET=1.2.3.4
    fi

HERE
}
