OPening ports
jlopes151 at comcast.net
jlopes151 at comcast.net
Fri Dec 16 01:00:48 UTC 2005
-------------- Original message --------------
From: Rick Stevens <rstevens at vitalstream.com>
> On Thu, 2005-12-15 at 21:03 +0000, jlopes151 at comcast.net wrote:
> > > > I have RHEL 4 installed and want to open ports for an Oracle 10g
> > > > install. Does any one know were I can find information on how this
> > is
> > > > done?
> > >
> > > I'm not certain which ports Oracle uses for network communication.
> > It's
> > > undoubtedly buried in the system documentation somewhere.
> > >
> > > Once you find those, you'll need to have them "-j ACCEPT" in your
> > > iptables configuration.
> > >
> > > If you're not familiar with iptables config files, I recommend you
> > use
> > > either "redhat-config-securitylevel" (Desktop->System
> > Settings->Security
> > > Level) or something like Firestarter, available for free from
> > > http://firestarter.sourceforge.net.
> > >
> >
> > Thanks Rick
> >
> > Some of the ports ex:HTTP have a range 5500-5540
>
> Ah, then some of your config lines would have something like:
>
> -A INPUT -p tcp -s 0.0.0.0/0 --dport 5500:5540 -j ACCEPT
>
> You might want to restrict the "-s 0.0.0.0/0" to a more reasonable
> range for the machines you want to have access. The one above opens
> you up to connections coming from anywhere.
>
> > Thanks for the help
>
> No worries, mate!
>
So to set the range for say the local machine and the next in the range I would do I would -s 1.2.3.4/5?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-install-list/attachments/20051216/8ae74dc8/attachment.htm>
More information about the Redhat-install-list
mailing list