From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jin Gu, Kim" Subject: execute iptables via web browsers? Date: Fri, 24 Oct 2003 16:25:55 +0900 Sender: netfilter-admin@lists.netfilter.org Message-ID: <200310240725.h9O7PuE23633@smtp.postech.ac.kr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C39A4B.80D95FA0" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C39A4B.80D95FA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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) ---------------------------------------------------------------------------- ------------------------------------- cgi test

Server Side Includes TEST


iptables' rule ("nat" table)

------=_NextPart_000_0000_01C39A4B.80D95FA0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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

</body>
 
</html>
 

 
------=_NextPart_000_0000_01C39A4B.80D95FA0-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Simon Garner" Subject: Re: execute iptables via web browsers? Date: Fri, 24 Oct 2003 21:43:23 +1300 Sender: netfilter-admin@lists.netfilter.org Message-ID: <001701c39a0b$32aa86a0$0301a8c0@SIMON> References: <200310240725.h9O7PuE23633@smtp.postech.ac.kr> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: "Jin Gu, Kim" , netfilter@lists.netfilter.org On Friday, October 24, 2003 8:25 PM NZT, Jin Gu, Kim 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: rcriggs Subject: Re: execute iptables via web browsers? Date: Fri, 24 Oct 2003 09:35:15 -0500 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3F9938A3.8090903@fastwebwork.com> References: <200310240725.h9O7PuE23633@smtp.postech.ac.kr> <001701c39a0b$32aa86a0$0301a8c0@SIMON> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <001701c39a0b$32aa86a0$0301a8c0@SIMON> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii"; format="flowed" Cc: netfilter@lists.netfilter.org 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 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 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey Laramie Subject: Re: execute iptables via web browsers? Date: Fri, 24 Oct 2003 12:03:54 -0400 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3F994D6A.1080108@Loudoun-Fairfax.com> References: <200310240725.h9O7PuE23633@smtp.postech.ac.kr> <001701c39a0b$32aa86a0$0301a8c0@SIMON> <3F9938A3.8090903@fastwebwork.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3F9938A3.8090903@fastwebwork.com> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: rcriggs Cc: netfilter@lists.netfilter.org 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