thank u all for ur help,and yes i have to practice,i installed fedora
to do that,but i needed a solution fast coz other ppl at home need the
net on the other pc,so it was a hassle to use fedora,and i also tried
the recent comands u gave me,rebooted and nothing was saved,but tried
this :
/sbin/service iptables save
and it worked,everything is saved now,again,thank u all..

On Jul 16, 9:00 am, "Ahmad alsane" <[EMAIL PROTECTED]> wrote:
>  /sbin/iptables-save > /etc/sysconfig/iptables.rules
> /sbin/iptables-restore < /etc/sysconfig/iptables.rulesthese r for saving and
> restoring iptables rules note that this step keep ur rules exist after
> reboot, otherwise u had to enter ur rules over and over each time ur reboot
> ur box.
>
> a good hint: identify a new rule with
> iptables -N NEWRULE
> after that make all traffic goes through that rule
> iptables -A INPUT NEWRULE (do the same for the FORWARD and OUTPUT rules)
>
> then set ur forward and firewall rules by appending them to the NEWRULE
>
> why doing this? try to figure it ur self ( practice )
>
> Regrads


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Jolug" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/Jolug?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

رد على