Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Arcane command-line (Was: epcEditor)
- To: <tlug@example.com>
- Subject: Re: [tlug] Arcane command-line (Was: epcEditor)
- From: "Scott Robbins" <scottro@example.com>
- Date: Wed, 27 Mar 2002 09:35:11 -0500
- Content-transfer-encoding: 7bit
- Content-type: text/plain;charset="iso-8859-1"
- References: <200203262114.g2QLEFe01130@example.com><20020327091537.A4404@example.com> <87it7i1stq.fsf@example.com> <002301c1d572$54a63010$5a00a8c0@example.com> <008801c1d599$e4850540$0400a8c0@example.com>
----- Original Message ----- From: "Scott McLennan" <scottmclennan@example.com> To: <tlug@example.com> Sent: Wednesday, March 27, 2002 9:15 AM Subject: [despammed] Re: [tlug] Arcane command-line (Was: epcEditor) \ > 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 McLennan
- [tlug] Re: Arcane command-line (Was: epcEditor)
- From: Tobias Diedrich
- 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
Home | Main Index | Thread Index
- Prev by Date: [tlug] What is the best one?
- Next by Date: [tlug] cup/paste buffer - encoding
- 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