Squid to detect workstation's ip address inside a LAN
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.
I am using NAT on my firewall on a certain department which browse the internet using my squid outside of this firewall. I am using a filtering system on squid, managers inside this LAN must access certain sites where others should not reach. My problem is squid only sees the firewall ip address which in turn all workstations are filtered based on the firewall's ip address. Is there a way that i can manipulate my firewall not to use NAT but has the same effect to send packets without altering the ip address and since I am NAT, it eventually return to the firewall ip address.
LAN (sending ip address) ----> FIREWALL ----> (Receive workstation ip address not firewall ip address)Squid
Thank you.
Last edited by crackyblue; 07-28-2009 at 11:55 PM..
No it's not possible with your current setup, you internal lan uses private A, B, or C class networks, these are not routable over the internet. Any other gateway would not know where to send the packet of data if it has a private ipaddress, so it will by default send it to it's gateway, eventually the packet will reach it's TTL value (Time-To-Live), and be discarded. The only way I think it would be possible would be to setup A VPN perhaps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.