Re: how to block internet access for particular user on FC3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-06-27 at 17:21 +0300, peter kostov wrote:
> On Mon, 2006-06-26 at 23:24 +0100, Paul Ward wrote:
> > If you use iptables remember to use the iptables-save to keep your
> > changes when you are happy it works.
> Yes, today I noticed that the changes I made yesterday are not saved
> after the computer was shut down. I made the same changes again and
> changed the line:
> IPTABLES_SAVE_ON_STOP="no" 
> to 
> IPTABLES_SAVE_ON_STOP="yes"
> in  /etc/sysconfig/iptables-config
> 
> The other way to do the same, I think is:
> services iptables save
> 
> I think, iptables-save does  only a backup, that if written to a file
> can be used  with iptables-restore to get to the saved state again.

Well, if you do "iptables-save >/etc/sysconfig/iptables", then the next
reboot will restore them as the iptables startup script executes an
iptables-restore command using /etc/sysconfig/iptables as the data
source.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens@xxxxxxxxxxxxxxx -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-         If this is the first day of the rest of my life...         -
-                        I'm in BIG trouble!                         -
----------------------------------------------------------------------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux