On Wed, 21 Nov 2001, James Pifer wrote:

> Is it possible to disable all ports except for a few from a specific IP
> address?
>
> For example, if I have one machine(or IP address) in my network that I want
> to disable everything but port 80 and 443, but for the other machines leave
> everything open. Being a somewhat hypothetical situation please don't ask
> why you'd want to do such a thing....
Hmmm. Http and https only, eh? Ok...
/etc/init.d/xinetd stop
chkconfig --del xinetd
/etc/init.d/senmail stop (or whatever mta you use)
chkconfig --del sendmail (again, or whatever mta you use)
/etc/init.d/sshd stop
chkconfig --del sshd

Assuming that's redhat 7.2, that should leave you with nothing but the web
server. If I have missed something, you can ifgure it out from there.

>
> Thanks,
> James
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to