Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Ipchains/Iptables
- To: <tlug@example.com>
- Subject: Re: [tlug] Ipchains/Iptables
- From: "Scott McLennan" <scottmclennan@example.com>
- Date: Thu, 28 Mar 2002 00:10:11 +0900
- Content-transfer-encoding: 7bit
- Content-type: text/plain;charset="iso-8859-1"
- Organization: SoftDev
- References: <200203262114.g2QLEFe01130@example.com><20020327091537.A4404@example.com> <87it7i1stq.fsf@example.com> <002301c1d572$54a63010$5a00a8c0@example.com> <008801c1d599$e4850540$0400a8c0@example.com> <00b601c1d59c$9a6c0730$3008a8c0@example.com>
- Reply-to: "Scott McLennan" <scottmclennan@example.com>
Hey Scott. (what a great name! ) That's good. Thanks a lot. When you run iptables, do you need this thing called netfilter? Can you run iptables by calling it from within /etc/rc.d/rc.local just as you do with ipchains. For iptables what do you think of these: http://www.linuxguruz.org/iptables/scripts/rc.firewall_023.txt http://www.sjdjweis.com/linux/proxyarp/rc.firewall.txt Thanks a lot Scott! Ozzie Scott > \ > > > I dont believe you can just type in rules off the console and have > > them work. Im not sure though. Was hoping there would be an > > ipchains expert out there somewhere. > > Yes, you can. Using RH 7.2 as an example, you use the > -I for insert--if, for example, you wanted to allow ssh connections, when > your default firewall blocked them. > > First > ipchains -L -n --line-number > This will show your current ipchains (I've been using iptables for many > months now, so if I make an error in syntax, someone please correct it) It > will include the line number of each rule. A typical RH one will show that > your first reject is around rule 6 or so. > So, then you'd go > ipchains -I input 6 -s 0/0 -p tcp --y -d 0/0 22 -j ACCEPT > This inserts the rule that will allow SSH connections at line 6, above the > first rejection, which I think is all well-known ports. > > You might have to do /etc/rc.d/init.d/ipchains --restart though I don't > think so (I'm in Windows right now, so can't check it.) > HTH > another Scott (Robbins) > > >
- Follow-Ups:
- Re: [tlug] Ipchains/Iptables
- From: Scott Robbins
- References:
- Re: [tlug] Arcane command-line (Was: epcEditor)
- From: Jim Breen
- Re: [tlug] Arcane command-line (Was: epcEditor)
- From: Matt Doughty
- Re: [tlug] Arcane command-line (Was: epcEditor)
- From: Stephen J. Turnbull
- Re: [tlug] Arcane command-line (Was: epcEditor)
- From: Brett Robson
- Re: [tlug] Arcane command-line (Was: epcEditor)
- From: Scott McLennan
- Re: [tlug] Arcane command-line (Was: epcEditor)
- From: Scott Robbins
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Red Hat manuals
- Next by Date: Re: [tlug] What is the best one?
- Previous by thread: Re: [tlug] Arcane command-line (Was: epcEditor)
- Next by thread: Re: [tlug] Ipchains/Iptables
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links