[Shorewall-users] clarification on AddressVariable usage scope?

2020-06-07 Thread PGNet Dev
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, v

Re: [Shorewall-users] clarification on AddressVariable usage scope?

2020-06-07 Thread Tom Eastep
On 6/7/20 12:53 PM, PGNet Dev wrote: > 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=$

Re: [Shorewall-users] clarification on AddressVariable usage scope?

2020-06-07 Thread PGNet Dev
On 6/7/20 1:47 PM, Tom Eastep wrote: > Yes. As a general rule, address variables can be used anywhere that a > host IP address can be used, unless documented otherwise. great, thx. that takes care of the 'local' shorewall instance's tracking etc of a dynamic IP address. that 'local' IP address,

Re: [Shorewall-users] clarification on AddressVariable usage scope?

2020-06-08 Thread Tom Eastep
On 6/7/20 3:21 PM, PGNet Dev wrote: > On 6/7/20 1:47 PM, Tom Eastep wrote: >> Yes. As a general rule, address variables can be used anywhere that a >> host IP address can be used, unless documented otherwise. > > great, thx. > > that takes care of the 'local' shorewall instance's tracking etc of

Re: [Shorewall-users] clarification on AddressVariable usage scope?

2020-06-08 Thread PGNet Dev
On 6/8/20 10:32 AM, Tom Eastep wrote: > Why not assign this host a static IP address via DHCP? That's what I do > with my local systems. hm... not sure I follow. the 'local' box does get its external IPv4 address from the ISP. ( technically, it's actually getting it from the modem, configured in