Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[QUOTE=deepak rawat]i have one pc which have two lan card in it eth0 and eth1
eth0 hav address like
ip address>>>>>>>>> 202.0.0.100
netmask >>>>>>>>> 255.255.255.0
primary DNS >>>>>>> 202.54.15.30
secondary dns >>>>> 203.192.12.42
and the eth1 which is conncted to router hav address
ip address >>>>> 192.168.1.2
netmask >>>>>> 255.255.255.0
gateway >>>>>> 192.168.1.1
PRimary DNS and secondary dns is same to tht of eth0
now what i want is to set the squid proxy server for my private lan which is on ip range 202.0.0.1 to 202.0.0.200
on the server pc internet is working but on the client i hav change the connection settings to proxy server>>>> 202.0.0.100 and port number to 3128
and still its not working and the reason for that is eth1 ip is 192.168.1.2 but my lan address is 202.0.0.1 to 202.0.0.200 according to my knowledge to solve this problem we need NAT(network address translation) but i am not confortable with iptables
so if anyone here solve this problem
one thing make sure that i want this by squid proxy .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.