LinuxQuestions.org
Visit Jeremy's Blog.
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 09-04-2003, 10:52 PM   #1
mrnoe
LQ Newbie
 
Registered: May 2003
Posts: 2

Rep: Reputation: 0
Unhappy My clients "can browse" outside but "can't ping" outside


Dear all,
I'm a newbie ...

My network config are :

Internet
I
Cable Modem
I
PIX Firewall
I
I I
I I
I I
Proxy Mail/Web
I
Clients

I used Mandrake 9.1 and the built in squid.
I had a problem with my network.
My Clients can browse Outside (The Internet), but My Clients cannot ping Outside.
Can anyone help me out from this problem ??
 
Old 09-05-2003, 02:55 PM   #2
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
Squid is just a proxy server. It forwards port 80 (Web browsing) only. To make your machine act as a generic gateway machine (forwards all ports), you need to change the line

net.ipv4.ip_forward=0

to

net.ipv4.ip_forward=1

This will enable the gateway functionality. I will assume that you are using the kernel's built in firewalling software. To set up masquerading (makes all communications from clients appear to come from your machine) you need to add a line like

-t nat -A POSTROUTING -o eth1 -j SNAT --to 10.0.0.1

to /etc/iptables.conf. assuming that the cable modem is on interface eth1 and that eth1 has address 10.0.0.1. You will probably have to change these guesses to the correct values.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 01:03 AM
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
"host" ok, but "ping" can't find ip address hardigunawan Linux - Networking 2 05-16-2002 05:41 PM

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

All times are GMT -5. The time now is 12:17 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