All of lore.kernel.org
 help / color / mirror / Atom feed
* execute iptables via web browsers?
@ 2003-10-24  7:25 Jin Gu, Kim
  2003-10-24  8:43 ` Simon Garner
  0 siblings, 1 reply; 4+ messages in thread
From: Jin Gu, Kim @ 2003-10-24  7:25 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 510 bytes --]

Hi all.
 
I made this file to view "nat" rules, but nothing was there. How can I see
the results via web?
 
(SSI setting was done in httpd.conf. Other environmental variables were
shown)
 
----------------------------------------------------------------------------
-------------------------------------
<html>
<head><title> cgi test</title></head>
 
<body>
 
<h1> Server Side Includes TEST </h1>
 
<hr>
<p>
iptables' rule ("nat" table)<p>
<!--#exec cmd="/sbin/iptables -t nat -L"-->
 

</body>
 
</html>
 

 

[-- Attachment #2: Type: text/html, Size: 1961 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: execute iptables via web browsers?
  2003-10-24  7:25 execute iptables via web browsers? Jin Gu, Kim
@ 2003-10-24  8:43 ` Simon Garner
  2003-10-24 14:35   ` rcriggs
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Garner @ 2003-10-24  8:43 UTC (permalink / raw)
  To: Jin Gu, Kim, netfilter

On Friday, October 24, 2003 8:25 PM NZT,
Jin Gu, Kim <lilia21@postech.ac.kr> wrote:

> Hi all.
>
> I made this file to view "nat" rules, but nothing was there. How can
> I see the results via web?
>

You need to be root to view the tables, so that won't work. Though you
should get an error to that effect...

-Simon



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: execute iptables via web browsers?
  2003-10-24  8:43 ` Simon Garner
@ 2003-10-24 14:35   ` rcriggs
  2003-10-24 16:03     ` Jeffrey Laramie
  0 siblings, 1 reply; 4+ messages in thread
From: rcriggs @ 2003-10-24 14:35 UTC (permalink / raw)
  Cc: netfilter

Check and see if someone has written a webmin module
for iptables.

Simon Garner wrote:
> On Friday, October 24, 2003 8:25 PM NZT,
> Jin Gu, Kim <lilia21@postech.ac.kr> wrote:
> 
> 
>>Hi all.
>>
>>I made this file to view "nat" rules, but nothing was there. How can
>>I see the results via web?
>>
> 
> 
> You need to be root to view the tables, so that won't work. Though you
> should get an error to that effect...
> 
> -Simon
> 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: execute iptables via web browsers?
  2003-10-24 14:35   ` rcriggs
@ 2003-10-24 16:03     ` Jeffrey Laramie
  0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey Laramie @ 2003-10-24 16:03 UTC (permalink / raw)
  To: rcriggs; +Cc: netfilter

rcriggs wrote:

> Check and see if someone has written a webmin module
> for iptables.
>
> Simon Garner wrote:


There is a Webmin module for Shorewall and a regular frontend for 
iptables which seems to work fine. Like all Webmin modules it's fairly 
slow to refresh and can make extensive rule changes pretty tedious. I 
generally ssh in and edit my script directly since it's faster and I can 
document the rule better, but that's just my choice.

Jeff




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-24 16:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-24  7:25 execute iptables via web browsers? Jin Gu, Kim
2003-10-24  8:43 ` Simon Garner
2003-10-24 14:35   ` rcriggs
2003-10-24 16:03     ` Jeffrey Laramie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.