LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-18-2005, 06:58 AM   #1
shashwat
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
ping through proxy


Hi there,
My friend and me are sharing an GPRS internet connection . He working on linux machine and running the squid proxy server .. Now I can have access to internet but i am not able to ping an external address as ping www.google.com
.I am using mozilla as web browser and right now working in windows
help is invited
 
Old 01-18-2005, 10:09 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
post the contents of

route -n

and for ping i think u need to allow that(ICMP-ports i think) in ur squid proxy config also

regards
 
Old 01-18-2005, 04:44 PM   #3
angrybeaver
Member
 
Registered: Aug 2004
Location: .au
Distribution: debian, BSD
Posts: 104

Rep: Reputation: 17
your friend probably hasn't enabled any NAT translations on his public interface. It makes sense that you would be able to pull web pages via his proxy, but not ping external hosts.

get him to setup NAT on his box, or if it's already enabled (and he's not filtering established connections), check the default gateway setting on your workstation and make sure it points through to him.

the ICMP functions of Squid only apply to the way it selects an 'optimal location to forward a cache miss'. ie: these functions are only useful if you have multiple upstream parent proxies. Squid has to be complied specifically to use these directives.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ipcop -proxy: can ping ip but cannot browse internet prue3 Linux - Networking 0 02-03-2005 08:15 AM
able to ping proxy but no authentication rvijay17 Linux - Networking 4 06-17-2004 08:05 AM
Ping Proxy Server acjt Linux - Networking 11 07-31-2003 06:24 AM
Ping website from proxy client neerajmalve Linux - Networking 5 04-28-2003 06:22 AM
no ping, can't use proxy lenlin Linux - Networking 2 10-29-2002 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration