From owner-freebsd-questions Mon Apr 6 13:09:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA26148 for freebsd-questions-outgoing; Mon, 6 Apr 1998 13:09:22 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from sunrise-art.ru ([194.135.151.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA26069 for ; Mon, 6 Apr 1998 13:09:05 -0700 (PDT) (envelope-from stas@sunrise-art.ru) Received: from stas (stas.sunrise-art.ru [194.135.151.101]) by sunrise-art.ru (8.8.7/8.8.7) with SMTP id AAA02413 for ; Tue, 7 Apr 1998 00:10:17 +0400 (MSD) (envelope-from stas@sunrise-art.ru) Message-ID: <000101bd6198$31df8f60$659787c2@stas.sunrise-art.ru> From: "Stanislav V Vyaly" To: Subject: NATD problems Date: Tue, 7 Apr 1998 00:11:32 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3026.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3026.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 "Error: use proxy!" echo "Please configure your browser to use proxy at x.x.x.x" P.S. sorry for my english To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message