if i define a static param value in
/params
MY_STATIC_IP=1.2.3.4
i can use, e.g.,
/snat
SNAT($MY_STATIC_IP) ...
if, instead I define an AddressVariable
/init
MY_DYN_IP=$( cat /some/path/to/latest_EXT_IP )
is this, then, valid usage
/snat
SNAT(%{MY_DYN_IP}) ...
?
reading @
https://shorewall.org/configuration_file_basics.htm#AddressVariables
i _do_ see examples of the %{} in /rules, but not explicitly elsewhere, e.g.,
in /snat.
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users