Hi, could you tell me the correctly syntax to lists any ip adresses. For example: EXT1=192.168.111.239 192.168.215.40 and so on. Must there be a ";" or a blank ? Regards Michael Menkhoff Vote for Kerry
On Monday 25 October 2004 13:36, Michael Menkhoff wrote:> Hi, > > could you tell me the correctly syntax to lists any ip adresses. For > example: > > EXT1=192.168.111.239 192.168.215.40 and so on. > > Must there be a ";" or a blank ? >It depends on where you want to use $EXT1 but since most Shorewall lists are comma-separated, you most likely would want to use "," as the separator. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ lists.shorewall.net/teastep.pgp.key
mm> could you tell me the correctly syntax to lists any ip mm> adresses. For example: mm> EXT1=192.168.111.239 192.168.215.40 and so on. mm> Must there be a ";" or a blank ? Neither. Just separate the list of items with "commas", i.e., EXT1=192.168.111.239,192.168.215.40 ^ | | and so on ... -- Prof Kenneth H Jacker khj@cs.appstate.edu Computer Science Dept cs.appstate.edu/~khj Appalachian State Univ Boone, NC 28608 USA
Thx, for answers. Could it be, that i.e. $EXT1 don''t working in rfc1918 - file with those ip adress listings ? Menki.> mm> could you tell me the correctly syntax to lists any ip > mm> adresses. For example:> mm> EXT1=192.168.111.239 192.168.215.40 and so on.> mm> Must there be a ";" or a blank ?> Neither. Just separate the list of items with "commas", i.e.,> EXT1=192.168.111.239,192.168.215.40 > ^ > | > | > and so on ...
On Tuesday 26 October 2004 03:23, Michael Menkhoff wrote:> Thx, for answers. > > Could it be, that i.e. $EXT1 don''t working in rfc1918 - file with > those ip adress listings ?From the comments at the top of the rfc1918 file: # SUBNET The subnet (host addresses also allowed as are IP # address ranges provided that your kernel and iptables # have iprange match support). It doesn''t mention a comma-separated list, does it? So it is not possible to supply a list of addresses in that column which is what you are apparently trying to do. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ lists.shorewall.net/teastep.pgp.key