FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 04-14-2012, 08:04 AM
Muhammad Yousuf Khan
Default Squid as default gateway in proxy mode.

*i have lately installed SQUID proxy and to avail all the facilities i am using it as Proxy mod not as Transparent mode neither i wanted to.

now the problem part is i want to ping outside host to verify the connectivity of internet for that all the time i have to open the SSH the console and ping. but what i want is, i should also ping it from host computers as well. however i don't want to NAT all the traffic coming from inside and going outside. rather what i want is just to NAT only ICMP Echo Rep and Req so that i can at least ping outside host with out SSH the Squid console. which is very bothering.

My network diagram is very simple

<Squid Box>--------eth0(< Router>
****** I

****** I

** eth1( **
****** I
****** I
** (local network

And why i am using Squid as a Gateway because i just want to minimize unwanted nods that needs to be monitor all the time and batter control over traffic with IPtables firewall. i am using this line to NAT very specific ports to allow certain facilities like Email , Remote desktop and stuff. and this is working for me.

iptables -t nat -A POSTROUTING -p TCP --dport 110 -j MASQUERADE

now i am stuck on allowing the ping traffic. please help


Thread Tools

All times are GMT. The time now is 10:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org