hi rishi first of all how are you?
secondly .........went for squid .....basically bcos its a small network of just 5 pcs behind the proxy and thought it to be easy to configure.....browsing and all is preety good but messes up with java part...
would love to implement ur idea ......can u pass me some pointers please ....
thanks for the idea
dhanesh
----- Original Message ----- From: Rishi usergroups@theargoncompany.com Date: Wed, 4 Aug 2004 19:56:44 +0530 To: "GNU/Linux Users Group, Mumbai, India" linuxers@mm.ilug-bom.org.in Subject: Re: [ILUG-BOM] running java applications from behind a proxy
.....which i tried from the acl list in squid but nothings working.....
I've not had much experience with a proxy server, but is there any specific reason you're not using the box as a router instead?
If you use iptables and Masquerade the packets you should be fine.
That's the way use our Linux box here.
Regards
Rishi
On Wed, 2004-08-04 at 20:48, dhanesh andurlekar wrote:
would love to implement ur idea ......can u pass me some pointers please ....
Check this out:
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j MASQUERADE
echo "1" >/proc/sys/net/ipv4/ip_forward
I will not explain u what each of those options means ... that will be truly spoon feeding. Read the manual ;)
Cheers !! Kapil
On Wednesday 04 Aug 2004 8:48 pm, dhanesh andurlekar wrote:
hi rishi first of all how are you?
Great
secondly .........went for squid .....basically bcos its a small network of just 5 pcs behind the proxy and thought it to be easy to configure.....browsing and all is preety good but messes up with java part...
would love to implement ur idea ......can u pass me some pointers please
I guess Kapil's response should help. These documents is worth reading once..
http://www.tldp.org/HOWTO/Net-HOWTO/ http://www.linuxguruz.com/iptables/howto/ http://en.tldp.org/HOWTO/IP-Masquerade-HOWTO/
Also I like Trevor Warren's response... There is a lot of depth in what he is saying.. Focus on the problem and not the solution. I and Kapil have just provided another solution to get out of the problem you're in.
Rishi