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

ipchains and iptables with Linux Redhat 6.2

2003-03-06 Thread edwardspl
Dear All, 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 on 7.2 machine : iptables -F iptables -A INPUT -i eth0 -p tcp --dport 20 -j ACCEPT But I can connect to http: