Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
iptables help

iptables help

2005-05-13       - By angelo l

 Back
Reply:     1     2     3     4     5     6     7     8  

Jessica,
What you have to do to make this work is, edit the /etc/init.d/iptables
file.
When done, type:
iptables-save > /etc/sysconfig/iptables

Which will populate the /etc/sysconfig/iptables file, then type service
iptables restart, and you're in business :-)



~-- ---- ---- ---- ----/\-- ---- ---- ---- -----~
Angelo H. Lagos, MCP, MCPI, MCSE
Active member "170 MPH Club"
Microsoft Certified Systems Engineer/WebMaster/Web Developer
"...not all super heroes wear a cape...some ride a Suzuki GSX1300R..."




----Original Message Follows----
From: Jessica Zhu <jessica@(protected)>
Reply-To: General Red Hat Linux discussion list <redhat-list@(protected)>
To: golharam@(protected),General Red Hat Linux discussion list
<redhat-list@(protected)>
Subject: RE: iptables help
Date: Fri, 13 May 2005 16:19:20 -0400 (EDT)
MIME-Version: 1.0
Received: from hormel.redhat.com ([209.132.177.30]) by mc5-f24.hotmail.com
with Microsoft SMTPSVC(6.0.3790.211); Fri, 13 May 2005 13:19:34 -0700
Received: from listman.util.phx.redhat.com (listman.util.phx.redhat.com
[10.8.4.110])by hormel.redhat.com (Postfix) with ESMTPid 374BA72F38; Fri, 13
May 2005 16:19:28 -0400 (EDT)
Received: from int-mx1.corp.redhat.com
(int-mx1.corp.redhat.com[172.16.52.254])by listman.util.phx.redhat.com
(8.12.11/8.12.10) with ESMTP idj4DKJNox006558 for
<redhat-list@(protected)>;Fri, 13 May 2005 16:19:23 -0400
Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31])by
int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j4DKJMO25921for
<redhat-list@(protected)>; Fri, 13 May 2005 16:19:22 -0400
Received: from support1.mathforum.org (home-2.mathforum.org
[144.118.94.18])by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id
j4DKJLk0027581for <redhat-list@(protected)>; Fri, 13 May 2005 16:19:21 -0400
Received: from support1-2.mathforum.org
(support1-2.mathforum.org[144.118.94.12])by support1.mathforum.org
(8.11.6/8.11.6/The Math Forum, $Revision: 1.9primary) with ESMTP id
j4DKJKh31272; Fri, 13 May 2005 16:19:20 -0400
X-Message-Info: EoYTbT2lH2PORwEVOG/f7J2iwr7tFxJRMp/NikYcg7w=
X-RedHat-Spam-Score: 0
X-loop: redhat-list@(protected)
X-BeenThere: redhat-list@(protected)
X-Mailman-Version: 2.1.5
Precedence: junk
List-Id: General Red Hat Linux discussion list <redhat-list.redhat.com>
List-Unsubscribe:
<https://www.redhat.com/mailman/listinfo/redhat-list>,<mailto:redhat-list
-request@(protected)?subject=unsubscribe>
List-Archive: <https://www.redhat.com/archives/redhat-list>
List-Post: <mailto:redhat-list@(protected)>
List-Help: <mailto:redhat-list-request@(protected)?subject=help>
List-Subscribe:
<https://www.redhat.com/mailman/listinfo/redhat-list>,<mailto:redhat-list
-request@(protected)?subject=subscribe>
Errors-To: redhat-list-bounces@(protected)
Return-Path: redhat-list-bounces@(protected)
X-OriginalArrivalTime: 13 May 2005 20:19:35.0004 (UTC)
FILETIME=[145D01C0:01C557F9]

Thanks, I did that in my new file already.

Another question is whether there is nice rule to protect the servers from
DoS. Since this is also our mail server, is there any way to reject spam
through firewall.

Jessica

On Fri, 13 May 2005, Ryan Golhar wrote:

> I believe you have to have COMMIT as the last line of your
> /etc/sysconfig/iptables.  This is commit the changes.
>
> Ryan
>
>
> -- --Original Message-- --
> From: redhat-list-bounces@(protected)
> [mailto:redhat-list-bounces@(protected)] On Behalf Of Jessica Zhu
> Sent: Friday, May 13, 2005 3:12 PM
> To: redhat-list@(protected)
> Subject: iptables help
>
>
> Hi,
>
> I tried to customize and set up firewall using iptables on Red Hat
> Enterprise Linux ES release 3. The file /etc/sysconfig/iptables got
> edited. After I finished editing, I restarted service using
> /etc/init.d/iptables restart or service iptables restart. However,
> though
> it's got successfully restarted, when I checked the status, none of my
> editing taking effection.
> It's weired. For example, the default chain INPUT, OUTPUT and FORWARD
> all
> are ACCEPT, down in new iptables I edited, it's like as follows,
>
> *filter
> :INPUT DROP
> :FORWARD DROP
> :OUTPUT ACCEPT [0:0]
>
> But nothing take effection after iptables got restarted. What happened?
>
> Jessica
>
>

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Earn $52 per hosting referral at Lunarpages.