Hello Antken
> i am just messing about on a spare machine with the Dachstein floppy image, 
> i forget witch version it is any way
> i am struggling with ipchains and how to use it on the command line
> so far i know how to list the rules in the chains and how to flush them

Depending on your setup (masquerading or not)
Make the first line a accept all or if you are masquerading f.e. 
# ipchains -P forward DENY
# ipchains -A forward -i ppp0 -j MASQ
# echo 1 > /proc/sys/net/ipv4/ip_forward

from the guide below
(I use iptables, so I cannot check the rules)

> my first question is:
> how can i change the rules in the current chains to let all traffic in and 
> out ? ( i know this is dangerous but i am just messing on a test machine )
> 
> second question:
> does any one know of a getting started with ipchains for dummies type guide ?

I think this is a rather good start.
http://www.linuxdoc.org/HOWTO/IPCHAINS-HOWTO.html
And if you cannot get enough or want to know something about 
iptables look at  ( same author) 
http://netfilter.samba.org/unreliable-guides/
> 
> third question:
> how would i go about  letting a particular port both in and out, for 
> example port 1111 ?
For each part of the firewall input  forward and output 
this rule should have the port specified and allowed.
But remember the firewall script is not like routeing 
it is not the rule that is the most accurate that determines what is 
done with your package but the first rule that matches. 
So it does not only depends on which rule but also where is it 
placed. 
> thanks in advance to any one that replys  to this
> antken
Sorry that I didn't give you the exact syntax but I use iptables and 
makeing a small mistake would give you more trouble as looking 
the rule op yourself.

Greetings Eric Wolzak


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to