if you are not familiar with linux iptables to setup NAT use firestarter you can get it from the following url http://www.fs-security.com
--
Cheers,
Sivam
www.emmeskay.com
Main Topics
Browse All Topicshi,
i have a cable modem that is connected to a linux machine ( the gateway). I configured squid on that machine and everything works properly, except i cant access my external mail using outllok or other mail client.
i appreciate any help,
cheers
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
if you are not familiar with linux iptables to setup NAT use firestarter you can get it from the following url http://www.fs-security.com
--
Cheers,
Sivam
www.emmeskay.com
once you have setup your linux box as NAT with iptables, you should be able to surf the web, provided you have correctly specified the DNS' on your client.
if you want IPTables still acelerating your connection, you will need
a) to maintain the browser setup specifying the proxy data
or
b) to setup a transparent proxy in iptables and in squid.
for squid transparent proxy, add these lines to squid.conf:
# Para el proxy transparente
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_head
for iptables to redirect any web access to squid:
(use the example and fill your own network)
LAN=192.168.0.0/24
$ipt -t nat -A PREROUTING -p tcp -s $LAN --dport 80 -j REDIRECT --to-port 3128
------
don't forget to add correct dns data on your clients.
to setup a dns-cache on your linux box, just start named. then you can use the ip of your linux box as DNS.
if you are using a redhat like distribution, use:
chkconfig --level 345 named on
Business Accounts
Answer for Membership
by: jleviePosted on 2005-05-08 at 09:07:58ID: 13954637
Squid can't proxy POP, IMAP, or SMTP traffic. To allow those you need to configure a NAT'ing firewall on the Linux box to allow direct Internet access from the inside clients.