[squid-users] freebsd + transparent squid + natd

From: Aleksandar Simonovski <aleksandar@dont-contact.us>
Date: 03 Oct 2003 13:31:34 +0000

The requested URL could not be retrieved

________________________________________________________________________

While trying to retrieve the URL: http://www.tin.org/

The following error was encountered:

        Unable to determine IP address from host name for www.tin.org
The dnsserver returned:

        Name Error: The domain name does not exist.
This means that:

 The cache was not able to resolve the hostname presented in the URL.
 Check if the address is correct.
___________________________________________

hi,
I get this error because i'm doing NAT and Transparent Proxy on the same machine (FreeBSD 5.1)
i know this because when i set mozilla to use WWW proxy it works fine, i'll attach my configuration files
the main problem is how to forward port with natd.

Thanx
ps sorry for the attachment

fwd 192.168.1.99,3128 tcp from 192.168.1.0/24 to any dst-port 80
divert 8668 ip from any to any via rl0
allow ip from any to any via lo0
deny ip from any to 127.0.0.0/8
deny ip from 127.0.0.0/8 to any
allow ip from any to any
deny ip from any to any

# -- sysinstall generated deltas -- # Thu Oct 2 10:51:00 2003
# Created: Thu Oct 2 10:51:00 2003
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
kern_securelevel_enable="NO"
sendmail_enable="YES"
sshd_enable="YES"
# -- sysinstall generated deltas -- # Thu Oct 2 12:59:56 2003
#ifconfig_rl0="inet 192.168.1.90 netmask 255.255.255.0"
ifconfig_em0="inet 192.168.1.99 netmask 255.255.255.0"
ifconfig_rl0="inet 212.13.64.90 netmask 255.255.255.128"
check_quotas="NO"
usbd_enable="NO"
sendmail_enable="NONE"
saver="logo"
keyrate="fast"
gateway_enable="YES"
forward_sourceroute="YES"
firewall_enable="YES"
firewall_type="OPEN"
firewall_loging="YES"
#firewall_script="/etc/ipfw.riles"
natd_enable="YES"
natd_flags="-f /etc/natd.conf"
natd_interface="rl0"
defaultrouter="212.13.64.1"
inetd_enable="YES"
apm_enable="YES"
hostname="rhinoceros.unet.com.mk"

same_ports yes
use_sockets yes
log
Received on Fri Oct 03 2003 - 05:29:12 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:18 MST