Hello Chris, Thanks for the info. I now understand it a little better than I did... The 4.0.0.0/4 I get, (I can see the logic in that) but the rest.. well. I will do as you say and run ifconfig to find out what my static IP netmask is. Assuming it is 255.255.255.0, it would simply become static.ip/24, I picked that up correctly yes? Thanks again. Lee. Wednesday, April 12, 2000, 11:35:03 PM, you wrote: CR> Lee Smallbone wrote:
I'm trying to get my head round setting up SuSE Firewall. One portion of it confuses me.
# A forwarding rule consists of 1) source IP/net, 2) destination IP (dmz/intern) # and 3) destination port, seperated by a comma (","), e.g. # "4.0.0.0/8,192.168.1.6,8000", # "4.4.4.4/12,20.20.20.20,22 12.12.12.12/12,20.20.20.20,22" #
It is the 1) Source IP/net that is confusing me, something which I have never quite understood. How do you work out the subnet?
4.0.0.0/8 or
CR> The '8' in the above tells us that the first 8 bits of that dotted quad number CR> form the network address, which in this case is just the 4 (each portion of the CR> dotted quad number is 8 bits long). A mask of 16 would signify that the first CR> two parts (half) represent the network. <snip> Regards, Lee Smallbone lee@kechara.org -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/