07-12-2004
Or to add to that: you could try the command:
chkconfig --level 35 iptables off
to remain off when upon system startup on run-levels 3 and 5.
You can check that they're off with the command:
chkconfig --list | grep iptables
and/or
/etc/rc.d/init.d/iptables status
if the 'service iptables status' command doesn't work for you.
(You can turn back on again with chkconfig --level 35 iptables on).
This should have the same effect as removing the S*iptables out of /etc/rc.d/rc5.d/ which simply starts this service when you switch into this run-level.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
mount -f NFS 128.1.80.1:/usr /mnt
(: RPC: Program not registered)
don't work :(
please help. (1 Reply)
Discussion started by: RoMaGo
1 Replies
2. UNIX for Dummies Questions & Answers
I am using digital Unix and lpd. I have HP 4200n LaserJet TCP printer, but when I use lpr command, it always print duplex.
I can turn off duplex feature at the panel of the printer, but then other Windows computer cannot print duplex. How can I set up /etc/printcap file so that it will be... (2 Replies)
Discussion started by: hiepng
2 Replies
3. Linux
when I type smbclient \\\\MYSERVER\\someuser at the prompt, it asks me to log in with the password for that user, and when I put it in, it says NT_USER_LOGIN_FAILURE eveyrtime, while at the linux terminal. When I try to access the server from my windows xp machine it shows up in the workgroup, but... (3 Replies)
Discussion started by: kymberm
3 Replies
4. Linux
I'm attempting to turn off the firewall (yes, we are in a secure network, as much as that means nowadays), not open to the internet, however, I can't get the firewall to turn off, it won't allow users to ftp to it, or use a terminal emulator to log in, or telnet. And whenever I try to disable the... (2 Replies)
Discussion started by: kymberm
2 Replies
5. UNIX for Dummies Questions & Answers
how to disable anoying beep sound??? (4 Replies)
Discussion started by: nnn
4 Replies
6. Red Hat
Thanks for any insights you might have...
I have a RH8 system setup with a DAT drive.
I have a AIX tape that was made using cpio.
Bottom line is I need to read the AIX tape into the RH box.
I was able to do cpio -itv --no-absolute-filenames < /dev/st0 and read the table of contents.
... (0 Replies)
Discussion started by: mike114327
0 Replies
7. Solaris
hi,
i am an oracle DBA and having problems with the starting of enterprise manager on solaris. one of solution is to check whether firewall is on or off
so i am new bie in solaris so kindly tell me how to check the firewall in solaris 10 and how to stop it and what are effects of such... (2 Replies)
Discussion started by: janakors
2 Replies
8. UNIX for Beginners Questions & Answers
I'm running a Linux OS that uses Debian as it's base. A commercial vpn is installed that uses OpenVPN. For some reason, I can't get ipv6 to tunnel properly .... and Ipleak.net shows that my location is being unmasked by ipv6.
I've tried kernel commands at boot, I've tried sysctl.conf commands.... (2 Replies)
Discussion started by: benc
2 Replies
LEARN ABOUT XFREE86
iptables-apply
IPTABLES-APPLY(8) iptables 1.6.1 IPTABLES-APPLY(8)
NAME
iptables-apply - a safer way to update iptables remotely
SYNOPSIS
iptables-apply [-hV] [-t timeout] [-w savefile] {[rulesfile]|-c [runcmd]}
DESCRIPTION
iptables-apply will try to apply a new rulesfile (as output by iptables-save, read by iptables-restore) or run a command to configure
iptables and then prompt the user whether the changes are okay. If the new iptables rules cut the existing connection, the user will not be
able to answer affirmatively. In this case, the script rolls back to the previous working iptables rules after the timeout expires.
Successfully applied rules can also be written to savefile and later used to roll back to this state. This can be used to implement a store
last good configuration mechanism when experimenting with an iptables setup script: iptables-apply -w /etc/network/iptables.up.rules -c
/etc/network/iptables.up.run
When called as ip6tables-apply, the script will use ip6tables-save/-restore and IPv6 default values instead. Default value for rulesfile is
'/etc/network/iptables.up.rules'.
OPTIONS
-t seconds, --timeout seconds
Sets the timeout in seconds after which the script will roll back to the previous ruleset (default: 10).
-w savefile, --write savefile
Specify the savefile where successfully applied rules will be written to (default if empty string is given:
/etc/network/iptables.up.rules).
-c runcmd, --command runcmd
Run command runcmd to configure iptables instead of applying a rulesfile (default: /etc/network/iptables.up.run).
-h, --help
Display usage information.
-V, --version
Display version information.
SEE ALSO
iptables-restore(8), iptables-save(8), iptables(8).
LEGALESE
Original iptables-apply - Copyright 2006 Martin F. Krafft <madduck@madduck.net>. Version 1.1 - Copyright 2010 GW <gw.2010@tnode.com or
http://gw.tnode.com/>.
This manual page was written by Martin F. Krafft <madduck@madduck.net> and extended by GW <gw.2010@tnode.com or http://gw.tnode.com/>.
Permission is granted to copy, distribute and/or modify this document under the terms of the Artistic License 2.0.
iptables 1.6.1 IPTABLES-APPLY(8)