Can I load the firewall-config that comes with RedHat 7.1 and use it on a 
7.0 machine? I believe this is the GUI config application right?  The rpm 
is firewall-config-0.95-2.i386.rpm.

Thanks,
James

At 02:24 PM 11/21/2001 +0000, you wrote:
>At 11/21/2001 08:40 AM -0500, you 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....
>
>ipchains -A input -i <out_if> -p tcp -s <remote_ip> 1024:65535 -d 
><local_ip>  80 -j ACCEPT
>ipchains -A input -i <out_if> -p tcp -s <remote_ip> 1024:65535 -d 
><local_ip> 443 -j ACCEPT
>ipchains -A input -i <out_if> -p tcp -s <remote_ip> 1024:65535 -d 
><local_ip>     -j REJECT
>
>ipchains -A output -i <out_if> -p tcp ! -y -s <local_ip> -d <remote_ip> 
>1024:65535 -j REJECT
>
>Allow the two ports, then reject anything else.
>
>
>--
>Rodolfo J. Paiz
>[EMAIL PROTECTED]
>
>
>
>_______________________________________________
>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