[CentOS] firewall?

Rudi Ahlers Rudi at SoftDux.com
Sat Jul 16 12:24:30 UTC 2011


On Sat, Jul 16, 2011 at 2:20 PM, Ljubomir Ljubojevic <office at plnet.rs> wrote:
> Keith Roberts wrote:
>> So I guess I could configure my single NIC Centos 5.6
>> machine connected to a 4 port ADSL router to act as the
>> external Gateway for other machine on the LAN side of the
>> router, possibly using NAPT on the Centos box?
>
> Yes, you can do that. You can also use it as a proxy server.
>
> When I said "firewall", I meant as firewall for the network, facing
> outside of the local network. There were people who would bring public
> (or semi-public, from ISP) IP to the switch and then hook up all PC's to
> that switch and use 2 subnets, one that ISP provided and one for the
> local LAN, all on the same switch, to save on hardware. That is not safe
>  and not wise.

Sure, if the 2 subnets were just NAT'ed then it wouldn't be very safe.
But if you have propper firewall rules in place to block incoming
traffic from the public IP going to the private IP then it's very
safe.


>
> Ljubomir
> _______________________________________________



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532



More information about the CentOS mailing list