Lee Smallbone wrote:
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?
That's correct.
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.
Glad I could help, Chris -- Apologies to everyone who has been waiting for replies off me over the past few weeks - I've been away from my computer. I'll try to catch up with my email over the coming days, but don't be surprised if you get a reply in a month's time... __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- 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/