Hi,
I've been trying to add a DNAT rule which refers to a server whose
hostname includes a hyphen:
SMTP/DNAT net loc:int-mailserver
Shorewall rejects this with an error in the macro:
shorewall[2105151]: Compiling /etc/shorewall/rules...
shorewall[2105151]: ERROR: Invalid IP Address (int)
/usr/share/shorewall/macro.SMTP (line 12)
shorewall[2105151]: from /etc/shorewall/rules (line 83)
I've tried escaping the dashes but Shorewall gives me a different error:
shorewall[2104309]: ERROR: Shorewall Configuration file entries may
not contain double quotes, single back quotes or backslashes
/etc/shorewall/rules (line 83)
Is there a way to do this, short of adding an alias to /etc/hosts
without the hyphens?
Thanks.
--
Phil.
phil...@philpem.me.uk
https://www.philpem.me.uk/
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users