squid step by step
hi
I have FC2 machine and i am conneted to internet through this machince. The NIC card which is connented to internet have following network specification static IP := 192.168.1.190 network mask := 255.255.255.0 gateway := 192.168.1.11 DNS : = 192.68.1.11 now i have one more NIC on this machince i am using this NIC to connect with one more machine having windows. I want to use Internet on windows machine . can anybody pls tell me step by step process to use squid. also an example for squid.conf will be helpful |
Hi..
You actually don't require squid.conf to run internet on windows m/c. Simply enable IP forwarding and SNAT on your Linux m/c. You can use 'iptables' for that. One more thing you need to use linux m/c IP as a gateway IP for your windows m/c. I hope this will help.. |
hi karunesh,
Thanks for the reply but i am new to linux. Can u give exact commands and step by step procdure for both linux and windows machince depends upon my internet setting. Also please tell me configuaration of NIC card on windows as well on linux throught which it is connected to windows if u can give me ur yahoo chat ID it will be better |
Hi..
For enabling IP forwarding simply open the file '/etc/sysctl.conf' and locate the option 'net.ipv4.ip_forward = 0'. Here change the value 0 to 1. About NATing you can us the following command... Quote:
|
All times are GMT -5. The time now is 09:39 PM. |