from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

210192

userrating:


May 25th. 2007:
Words

486

Views

259167

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

150529

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





IPTABLES-APPLY

Section: iptables 1.8.13 (8)
Updated:
Index Return to Main Contents
 

NAME

iptable-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 iptable-save, read by iptable-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: iptable-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

iptable-restore(8), iptable-save(8), iptables(8).  

LEGALESE

Original iptable-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.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
LEGALESE





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 14.0 ms