( ipchains and iptables )
of
Linux Redhat 6.2 and 7.2
Go here: http://muse.linuxmafia.org/
Get gShield. It will save you time.
<>
On Sat, 2003-03-08 at 00:08, [EMAIL PROTECTED] wrote:
> Hello to you,
>
> If I want to allow users to use some of port numbers ( services ),
> e
gt; So, how can I set the ipchains and iptable to filt which port numbers (
> services ) allow users to connect ?
> Are there any samples about ipchains and iptables ?
>
> Thank for your help !
>
> Edward.
>
>
>
>
>
>
> --
> redhat-l
Hello to you,
If I want to allow users to use some of port numbers ( services ), eg :
port 80 ( http ), port 53 ( DNS ), etc... only!
So, how can I set the ipchains and iptable to filt which port numbers (
services ) allow users to connect ?
Are there any samples about ipchains and iptables
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 ?
> >
-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 ) o
CCEPT
> > iptables -A INPUT -i eth0 -p tcp --dport 53 -j ACCEPT
> > iptables -A INPUT -i eth0 -p udp --dport 53 -j ACCEPT
> > iptables -A INPUT -i eth0 -p tcp --dport 110 -j ACCEPT
> > iptables -A INPUT -i eth0 -p tcp --dport 443 -j ACCEPT
> > iptables -A INPUT -i
iptables-save. It's equivalent only if
these are all your rules. "iptables-save" is a command that prints
your entire set of rules.
Your listing above shows 11 superfluous rules, because the default
policy in the INPUT chain is ACCEPT. That means, by default, the
INPUT chain accepts ever
-j ACCEPT
iptables -A INPUT -i eth0 -p udp --dport 53 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 110 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 443 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 113 -j ACCEPT
So, any problem of the setting about ipchains and iptables ?
Very than
-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
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:
ules/2.4.18-5smp/kernel/net/ipv4/netfilter/ip_tables.o failed
> /lib/modules/2.4.18-5smp/kernel/net/ipv4/netfilter/ip_tables.o: insmod
> ip_tables failed iptables v1.2.5: can't initialize iptables table
> `filter': iptables who? (do you need to insmod?) Perhaps iptables or
> yo
+--[ 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
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
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
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
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
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
this error:
/lib/modules/2.4.18-5smp/kernel/net/ipv4/netfilter/ip_tables.o: init_modu
>
> > Anyone know how to allow ports 137, 138, and 139 go through in the
> ipchains and iptables commands?
> >
> > thanks.
> >
>
> For IPTables:
>
> iptables -A INPUT -s xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy-i ethX -p tcp -m
tcp
> --dport 137 -j
an 2002, Jay Paulson wrote:
> Anyone know how to allow ports 137, 138, and 139 go through in the ipchains and
>iptables commands?
>
> thanks.
>
___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
Anyone know how to allow ports 137, 138, and 139 go
through in the ipchains and iptables commands?
thanks.
20 matches
Mail list logo