Networking Forums

Networking Forums > Computer Networking > Linux Networking > using NAT Router, can't block gmail, can I use Linux box instaed of NAT Router?

Reply
Thread Tools Display Modes

using NAT Router, can't block gmail, can I use Linux box instaed of NAT Router?

 
 
santa19992000@yahoo.com
Guest
Posts: n/a

 
      11-18-2005, 06:42 PM
using NAT Router for small office, can't block gmail, can I use Linux
box to block gmail (all web based e-mails) instead of NAT Router to do
block, will it support?. Thanks

 
Reply With Quote
 
 
 
 
Tauno Voipio
Guest
Posts: n/a

 
      11-18-2005, 08:08 PM
(E-Mail Removed) wrote:
> using NAT Router for small office, can't block gmail, can I use Linux
> box to block gmail (all web based e-mails) instead of NAT Router to do
> block, will it support?. Thanks



If you need to allow other Web traffic, you're OOL. The
webmails are just web pages and they cannot easily be
distinguished from valid web traffic by the firewall.

--

Tauno Voipio
tauno voipio (at) iki fi
 
Reply With Quote
 
CJT
Guest
Posts: n/a

 
      11-18-2005, 08:26 PM
Tauno Voipio wrote:

> (E-Mail Removed) wrote:
>
>> using NAT Router for small office, can't block gmail, can I use Linux
>> box to block gmail (all web based e-mails) instead of NAT Router to do
>> block, will it support?. Thanks

>
>
>
> If you need to allow other Web traffic, you're OOL. The
> webmails are just web pages and they cannot easily be
> distinguished from valid web traffic by the firewall.
>

I don't think the original poster was at all clear in describing what
he/she wants to do. You could indeed block access to a particular
web site, knowing its IP address. But when I read the posting, I
thought the concern was with incoming mail from such web based e-mails
(and there are many others besides gmail). So I think we need
clarification. Or perhaps the OP is clueless (as evidenced by the
gibberish about NAT, which seems quite irrelevant).

--
The e-mail address in our reply-to line is reversed in an attempt to
minimize spam. Our true address is of the form che...@prodigy.net.
 
Reply With Quote
 
Raqueeb Hassan
Guest
Posts: n/a

 
      11-20-2005, 12:57 PM
> can I use Linux box to block gmail (all web based e- > mails) instead of NAT Router to do
> block, will it support?.


<snip>

Well, I assume, you are running on low bandwidth connectivity and those
web based mails are hogging your surfing a big time. Should that is the
case, you can use linux box with squid cache as http
accelerator/transparent proxy. You might also choose SquidGuard for
site filtering. You can use some kind of settings like white/blacklist
with squid and iptables, the tools for NATing in linux.

While in Squid, the basic tool, edit squid.conf - it's configuration
file in the/etc/squid directory

acl bad url_regex "/etc/squid/squid-block.acl"
http_access deny bad

Then, add those sites in squid-block.acl file

..web_based_mail.com
mail.web_based_mail.com
.....

HTH

--
Raqueeb Hassan
Bangladesh

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I give up. I am just going to block gmail Philip Wireless Internet 2 04-05-2011 11:13 PM
HOW2 linux/gmail/send *.pdf ? no.top.post@gmail.com Linux Networking 1 10-10-2009 11:57 AM
wireless router block mrod Wireless Networks 1 01-13-2007 09:45 AM
Instaed of buying Netgear Router/4-port switch product, can I keep my Linux box the same functionality? vasanta Linux Networking 8 07-25-2004 07:49 AM
Wireless AP/Router block diagram Vinod Gupta Linux Networking 3 04-22-2004 06:43 PM



1 2 3 4 5 6 7 8 9 10 11