|
||||||||
|
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|
Is there a way to re-create the ipchains and iptables commands from
the output listing? Here is what I am trying to do. Suppose I have a script that sets up firewall. Later on you or someone else add more rules from command line. I want to be able to re-create the ipchains/iptable commands from the "ipchains -L" or "iptables -L" output. Is there a program that will do it? Thanks. Vitto |
|
#2
|
|||
|
|||
|
On 4 Mar 2004 11:07:39 -0800, Vitto <(E-Mail Removed)> wrote:
> Is there a way to re-create the ipchains and iptables commands from > the output listing? > > Here is what I am trying to do. Suppose I have a script that sets up > firewall. Later on you or someone else add more rules from command > line. I want to be able to re-create the ipchains/iptable commands > from the "ipchains -L" or "iptables -L" output. > > Is there a program that will do it? > > Thanks. you could instead use iptables-save and iptables-restore. |
|
#3
|
|||
|
|||
|
Vitto wrote:
> Is there a way to re-create the ipchains and iptables commands from > the output listing? > > Here is what I am trying to do. Suppose I have a script that sets up > firewall. Later on you or someone else add more rules from command > line. I want to be able to re-create the ipchains/iptable commands > from the "ipchains -L" or "iptables -L" output. > > Is there a program that will do it? > > Thanks. check out fwbuilder...very nice GUI [checkpoint look-alike] -- --------- No bits were hurt during this transmission. ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =--- |
|
#4
|
|||
|
|||
|
While stranded on information super highway Fred Emmott wrote:
> On 4 Mar 2004 11:07:39 -0800, Vitto <(E-Mail Removed)> wrote: > >> Is there a way to re-create the ipchains and iptables commands from >> the output listing? >> >> Here is what I am trying to do. Suppose I have a script that sets up >> firewall. Later on you or someone else add more rules from command >> line. I want to be able to re-create the ipchains/iptable commands >> from the "ipchains -L" or "iptables -L" output. >> >> Is there a program that will do it? >> >> Thanks. > > > you could instead use iptables-save and iptables-restore. Cool, that works for iptables. Is there anything similar for ipchains? -- Hemant Shah /"\ ASCII ribbon campaign E-mail: (E-Mail Removed) \ / --------------------- X against HTML mail TO REPLY, REMOVE NoJunkMail / \ and postings FROM MY E-MAIL ADDRESS. -----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------ I haven't lost my mind, Above opinions are mine only. it's backed up on tape somewhere. Others can have their own. |
|
#5
|
|||
|
|||
|
Hemant Shah <(E-Mail Removed)> wrote in
news:c2aqqu$gh2$(E-Mail Removed): > While stranded on information super highway Fred Emmott wrote: >> On 4 Mar 2004 11:07:39 -0800, Vitto <(E-Mail Removed)> wrote: >> >>> Is there a way to re-create the ipchains and iptables commands >>> from the output listing? >>> <snip> >> >> you could instead use iptables-save and iptables-restore. > > Cool, that works for iptables. > > Is there anything similar for ipchains? $ locate ipchains | grep bin /sbin/ipchains /sbin/ipchains-restore /sbin/ipchains-save -- Regards, Carles Arjona (E-Mail Removed) ( nospammer IS my real username ). |
![]() |
| Tags |
| command, generating, ipchains, output |
| Thread Tools | |
| Display Modes | |
|
|