Re: ipchains and iptables with Linux Redhat 6.2

2003-03-07 Thread edwardspl
Michael Schwendt wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Fri, 07 Mar 2003 23:57:19 +0800, [EMAIL PROTECTED] wrote: > > > Now, I want to know how to allow users connect to some of ports ( services ) by > > using ipchains and iptables ? > > eg : allow user connect to ports :

Re: ipchains and iptables with Linux Redhat 6.2

2003-03-07 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 07 Mar 2003 23:57:19 +0800, [EMAIL PROTECTED] wrote: > Now, I want to know how to allow users connect to some of ports ( services ) by > using ipchains and iptables ? > eg : allow user connect to ports : 80 ( http ), 53 ( DNS ) only... I wou

Re: ipchains and iptables with Linux Redhat 6.2

2003-03-07 Thread edwardspl
Michael Schwendt wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Fri, 07 Mar 2003 22:13:03 +0800, [EMAIL PROTECTED] wrote: > > > > On Fri, 07 Mar 2003 13:31:02 +0800, [EMAIL PROTECTED] wrote: > > > > > > > After the following setting of ipchains on 6.2 machine : > > > > > > > > /sb

Re: ipchains and iptables with Linux Redhat 6.2

2003-03-07 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 07 Mar 2003 22:13:03 +0800, [EMAIL PROTECTED] wrote: > > On Fri, 07 Mar 2003 13:31:02 +0800, [EMAIL PROTECTED] wrote: > > > > > After the following setting of ipchains on 6.2 machine : > > > > > > /sbin/ipchains -F > > > /sbin/ipchains -A inpu

Re: ipchains and iptables with Linux Redhat 6.2

2003-03-07 Thread edwardspl
Michael Schwendt wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Fri, 07 Mar 2003 13:31:02 +0800, [EMAIL PROTECTED] wrote: > > > After the following setting of ipchains on 6.2 machine : > > > > /sbin/ipchains -F > > /sbin/ipchains -A input -i eth0 -p tcp --dport 20 -j ACCEPT > > >

Re: ipchains and iptables with Linux Redhat 6.2

2003-03-07 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 07 Mar 2003 13:31:02 +0800, [EMAIL PROTECTED] wrote: > After the following setting of ipchains on 6.2 machine : > > /sbin/ipchains -F > /sbin/ipchains -A input -i eth0 -p tcp --dport 20 -j ACCEPT > > After the following setting of iptables o

Re: IPCHAINS and IPTABLES

2002-08-25 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 25 August 2002 05:32 pm, Joe Giles wrote: > List, Can you use ipchains and iptabels at the same time? No, one or the other. > Also, then I type iptables -L at the command promtp (Or iptables > ) I get this error: > > /lib/modules/2.4.18-5s

Re: IPCHAINS and IPTABLES

2002-08-25 Thread jack
+--[ Joe Giles ] +--[ 25 Aug 2002 21:32:06 - ] >List, Can you use ipchains and iptabels at the same time? > >Like, for instance, use ipchains for packet filtering and iptables for MASQ? > >Also, then I type iptables -L at the command promtp (Or iptables ) I >get t

Re: IPCHAINS and IPTABLES

2002-08-25 Thread Joe Giles
Well, In my original message about this, I pasted an output of an error I got when I would run iptables. It has something to do with modules. Also, the reason I was going to try iptables is when I try to MASQ with ipchains, there seems to be a "Buffer" that fills up after a day or so that causes

Re: IPCHAINS and IPTABLES

2002-08-25 Thread Anthony Abby
On Sun, 2002-08-25 at 17:41, Joe Giles wrote: > Is that why I'm getting that error when I try to run iptables? > > Thanks > > Joe I'm not sure what error you're getting but if you have ipchains on and iptables on at the same time, and try to run iptables, it's being interrupted by ipchains. T

Re: IPCHAINS and IPTABLES

2002-08-25 Thread Joe Giles
Is that why I'm getting that error when I try to run iptables? Thanks Joe On Sun, 2002-08-25 at 15:32, Anthony Abby wrote: > No. If you attempt to run both at the same time ipchains takes > precedence on Redhat. > > Anthony > > On Sun, 2002-08-25 at 17:32, Joe Giles wrote: > > List, Can you

Re: IPCHAINS and IPTABLES

2002-08-25 Thread Anthony Abby
No. If you attempt to run both at the same time ipchains takes precedence on Redhat. Anthony On Sun, 2002-08-25 at 17:32, Joe Giles wrote: > List, Can you use ipchains and iptabels at the same time? > > Like, for instance, use ipchains for packet filtering and iptables for MASQ? > > Also, th

Re: ipchains and iptables

2002-01-11 Thread Mike Burger
For IPTables: iptables -A INPUT -s xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy-i ethX -p tcp -m tcp --dport 137 -j ACCEPT iptables -A INPUT -s xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy-i ethX -p udp -m udp --dport 137 -j ACCEPT Repeat for each port (138 and 139) ethX is the interface on which you want to accept th