Date: Tue, 7 Apr 1998 00:11:32 +0400 From: "Stanislav V Vyaly" <stas@sunrise-art.ru> To: <freebsd-questions@FreeBSD.ORG> Subject: NATD problems Message-ID: <000101bd6198$31df8f60$659787c2@stas.sunrise-art.ru>
next in thread | raw e-mail | index | archive | help
I have installed NATD on FreeBSD-2.2.5 box with squid to
tell my users that they have to configure their browsers to use proxy.
natd tell me on verbose output:
In  [TCP]  194.135.151.101:1401 -> 204.216.27.18:80 aliased to
                 194.135.151.101:1401 -> 204.216.27.18:80
Why natd doesn't tell me
In  [TCP]  194.135.151.101:1401 -> 204.216.27.18:80 aliased to
           194.135.151.101:1401 -> 194.135.151.1:8080
^^^^^^^^^^^^^^^^^^^^
                                                         ????????????????
I have tried all of the night,
and cannot find out why this config doesn't work, please,
help me understand if I am a lamer or what? :
/etc/services:
natd 6668/divert
rc.firewall:
$fwcmd add divert natd tcp from x.x.x.0/25 to any http via ep0
natd.cf:
log yes
verbose yes
redirect_port tcp x.x.x.1:8080 80
inetd.conf:
8080 stream tcp nowait root /some/where/warning warning
/some/where/warning:
#!/bin/sh
echo "<html><head><title>Error: use proxy!</title></head>"
echo "<body>Please configure your browser to use proxy at x.x.x.x</body>"
P.S. sorry for my english
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000101bd6198$31df8f60$659787c2>
