Re: firewall?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 07/15/11 10:07 PM, hadi motamedi wrote:
> Sorry. I just didn't get the basic configuration. I mean enabling the
> windows machine to get Internet service from the centos connected
> server (with respect to the ip configuration sent). I am now reading
> the iptables manual and I understand on how to set the required
> security rules after getting the above basic configuration. Please
> just give me a hint on the basic configuration.

first, you should have two separate physical interfaces, not the same 
interface like eth0 and eth0:1

internet to eth0 and local area network to eth1

configure iptables rules to implement "NAT" (network address 
translation) also known as 'IP Masquerade'.  you typically have the load 
the ip masq connection tracking module too.   Any howto or readme on 
iptables and linux firewalling should explain how to do this.

if you want someone to write the rules for you, I suggest you hire them.



-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux