From owner-freebsd-questions Thu Aug 19 9:57:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from topsecret.net (gill.apk.net [207.54.148.62]) by hub.freebsd.org (Postfix) with SMTP id 0F06D14E52 for ; Thu, 19 Aug 1999 09:57:23 -0700 (PDT) (envelope-from gill@topsecret.net) Received: from stumpy by topsecret.net with SMTP (MDaemon.v2.7.SP5.R) for ; Thu, 19 Aug 1999 12:52:40 -0400 From: "James Gill" To: "freebsd-questions@FreeBSD. ORG" Subject: natd redirects not happening Date: Thu, 19 Aug 1999 12:52:18 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal X-MDaemon-Deliver-To: freebsd-questions@FreeBSD.ORG X-Return-Path: gill@topsecret.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm having trouble trying to redirect incoming connections to my firewall on specific ports to other machines on my network. In looking at my natd stuff in rc.conf and it seems (to me) to be right: -------------------------------------- ### FIREWALL AND NATD CONFIG ### firewall_enable="YES" firewall_type="open" natd_program="/sbin/natd" natd_enable="YES" #firewall_enable must also be set to yes # #and ipdivert must also be in kernel natd_interface="ed1" natd_flags="-f /etc/rc.natd" -------------------------------------- and the file rc.natd is long and full of comments, but here's the relevant section: -------------------------------------- ### redirected ports ### # redirect_port proto tergetIP:targetPORT [aliasIP:]aliasPORT \ # [remoteIP[:remotePORT]] # example: redirect_port tcp inside1:telnet 6666 # means that tcp packets destines for port 6666 on this machine will be sent # to the telnet port on the inside1 machine #redirect_port redirect_port tcp 10.101.101.33:21 21 #ftp redirect_port tcp 10.101.101.131:23 23 #telnet redirect_port tcp 10.101.101.33:25 25 #smtp redirect_port tcp 10.101.101.33:80 80 #www-tcp redirect_port udp 10.101.101.33:80 80 #www-udp redirect_port tcp 10.101.101.33:110 110 #pop3-tcp redirect_port udp 10.101.101.33:110 110 #pop3-udp -------------------------------------- What am i missing? Why are my redirects not happening? --gill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message