sudeep333 schreef:
> Hello to all the masters,
>
> I am using RHEL 5 and facing problem related to 2 NICs.
>
> NIC1 is connected to the internet and used to provide the internet
> access to all my internal LAN systems which are connected to my second
> NIC2 via a hub.
>
> NIC1 is on DHCP and i am providing static IP address on NIC2 -
> 192.168.0.1
>
> My LAN systems are pinging to my server but not able to provide
> internet access to my LAN. My LAN systems are on windows XP
>
> Please tell me what should i do.
>
>
> NIC1 Configuration
> DHCP
>
>
> NIC2 Configuration
> IP: 192.168.0.1
> Mask: 255.255.255.0
> gateway:
>
> i have edited the /etc/sysctl.conf ipv4_forwarding to 1 but still the
> issue is there.
>
> Please tell me that is there anything related to iptables or any
> simple solution is there.
>
> My need is just to provide the internet access to my LAN systems via
> my server.
>
> Thanx in anticipation
Sudeep,
It has to do with Iptables.
Just look for Linux firewall howto on Google and you find some good
examples.
Kind regards,
Jan Gerrit Kootstra