From owner-freebsd-questions Tue Sep 4 19:41:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.nipsi.de (dsl-213-023-032-044.arcor-ip.net [213.23.32.44]) by hub.freebsd.org (Postfix) with SMTP id 6844A37B403 for ; Tue, 4 Sep 2001 19:41:48 -0700 (PDT) Received: (qmail 8036 invoked from network); 5 Sep 2001 02:41:12 -0000 Received: from unknown (HELO nachpolierer) (172.16.1.101) by nipsi with SMTP; 5 Sep 2001 02:41:12 -0000 Message-ID: <000501c135b4$4cee0fe0$650110ac@nachpolierer> From: "Dennis Berger" To: Subject: ppp internal NAT - transparent proxy problem Date: Wed, 5 Sep 2001 04:41:44 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi here is what i want to do A connection out to port 21 should be redirected to 127.0.0.1 port 2370 so I added the following line to my ppp.conf "nat proxy port 21 server 127.0.0.1:2370 src 172.16.0.0/16" if I watch lo0 with tcpdump nothing comes in ... and proxying doesn't work at all, but why ? here is my complete ppp.conf -------------------------- default: set log Phase Chat LCP IPCP CCP tun command set redial 15 65536 set reconnect 15 65536 nat enable yes nat log yes nat deny_incoming no #nat punch_fw 500 100 nat use_sockets yes nat same_ports yes nat port tcp 172.16.1.101:4000 4000 nat port tcp 172.16.1.1:80 80 nat port tcp 172.16.1.1:443 443 nat proxy port 21 server 127.0.0.1:2370 src 172.16.0.0/16 disable iface-alias pppoe: set device PPPoE:rl0: set mru 1492 set mtu 1492 set speed sync enable lqr set lqrperiod 5 set cd 5 set dial set login set timeout 0 set authname XXXX set authkey XXXXX set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR ------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message