From owner-freebsd-questions@FreeBSD.ORG Fri Jun 6 19:26:12 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FE0237B401 for ; Fri, 6 Jun 2003 19:26:12 -0700 (PDT) Received: from web40104.mail.yahoo.com (web40104.mail.yahoo.com [66.218.78.38]) by mx1.FreeBSD.org (Postfix) with SMTP id A269843F3F for ; Fri, 6 Jun 2003 19:26:11 -0700 (PDT) (envelope-from planoprez@yahoo.com) Message-ID: <20030607022611.79582.qmail@web40104.mail.yahoo.com> Received: from [68.88.153.136] by web40104.mail.yahoo.com via HTTP; Fri, 06 Jun 2003 19:26:11 PDT Date: Fri, 6 Jun 2003 19:26:11 -0700 (PDT) From: Yeah! To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: NAT Port Forwarding with PPPoE won't work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2003 02:26:12 -0000 Hey All--- I need some help, I'm trying to forward ports 5800-6000 on a PPPoE broadband connection to allow a program called VNC to work. I have tried everything but it seems to fail. I know VNC is working fine as I can do a telnet localhost 5800 and it works from the local box. But from outside the LAN no go. Here is my ppp.conf file, and rc.conf please let me know what I'm doing wrong. Thanks! JP BEGIN PPP.CONF---- default: set device PPPoE:rl0 set MRU 1490 set MTU 1490 set authname "xxxxxxx" set authkey xxxxxxx set log Phase tun command set dial set login set ifaddr 10.0.0.1/0 10.0.0.2/0 add default HISADDR nat enable yes nat port tcp 192.168.1.1:5800-5950 5800-5950 nat port udp 192.168.1.1:5800-5950 5800-5950 nat log yes set cd off set crtscts off set redial 0 0 END PPP.CONF----- BEGIN rc.conf----- gateway_enable="YES" hostname="xxxx.xxxx.xxxx" #ifconfig_rl0="DHCP" ifconfig_ed0="inet 192.168.1.254 netmask 255.255.255.0" inetd_enable="YES" kern_securelevel_enable="NO" keyrate="fast" moused_enable="YES" moused_port="/dev/cuaa0" moused_type="microsoft" saver="logo" sendmail_enable="YES" enable_quotas="YES" check_quotas="YES" sshd_enable="YES" usbd_enable="YES" ppp_enable="YES" ppp_mode="ddial" ppp_nat="YES" ppp_profile="default" #firewall_enable="YES" natd_enable="YES" natd_interface="tun0" natd_flags="-redirect_port tcp 192.168.1.1:5800-6000 5800-6000 -redirect_port udp 192.168.1.1:5800-6000 5800-6000" end---- __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com