From owner-freebsd-questions@FreeBSD.ORG Sat Jul 17 04:05:28 2004 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 2C44216A4CE for ; Sat, 17 Jul 2004 04:05:28 +0000 (GMT) Received: from redtick.homeunix.com (adsl-68-89-239-107.dsl.okcyok.swbell.net [68.89.239.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 955A043D54 for ; Sat, 17 Jul 2004 04:05:27 +0000 (GMT) (envelope-from boxend@redtick.homeunix.com) Received: from redtick.homeunix.com (localhost.homeunix.com [127.0.0.1]) i6H44l4t001293; Fri, 16 Jul 2004 23:04:47 -0500 (CDT) (envelope-from boxend@redtick.homeunix.com) Received: (from boxend@localhost) by redtick.homeunix.com (8.12.10/8.12.10/Submit) id i6H44kT4001292; Fri, 16 Jul 2004 23:04:46 -0500 (CDT) (envelope-from boxend) Date: Fri, 16 Jul 2004 23:04:46 -0500 From: Mark To: freebsder Message-ID: <20040717040445.GA1244@redtick.homeunix.com> References: <20040717013708.25332.qmail@web52506.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040717013708.25332.qmail@web52506.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.1 <-> WinXP Networking Problem UPDATE #2 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, 17 Jul 2004 04:05:28 -0000 On Fri, Jul 16, 2004 at 06:37:08PM -0700, freebsder wrote: Jumping in late, natd_enable="YES" # forward from inside natd_interface="tun0" # this being the connection to outside world natd_flags="-dynamic" # because the ip addy may change I don't know what your trying to do here?? >natd_flags="redirect_port tcp 192.168.1.1:80 80" I would remove this until you get everything else working. > Hi Bill, > > The interface creates tun0 when it dials but I tried > both "tun0" and "ppp0" and neither seemed to do the > trick. > > Any other trouble shooting thoughts or ideas? > > Nav > > new RC.CONF : > > ## Firewall > > [...] > natd_interface="tun0" > #natd_interface="ppp0" > #natd_interface="vr0" > natd_flags="redirect_port tcp 192.168.1.1:80 80" > rpc_statd_enable="YES" > tcp_extensions="YES" > > ## Mail > sendmail_enable="YES" > > IFCONFIG : > > #ifconfig > ed0: > flags=8843 mtu > 1500 > inet 192.168.1.1 netmask 0xffffff00 broadcast > 192.168.1.255 > inet6 fe80::280:c8ff:fede:c937%ed0 prefixlen > 64 scopeid 0x1 > ether 00:80:c8:de:c9:37 > vr0: > flags=8843 mtu > 1500 > inet6 fe80::20e:a6ff:fe9c:c81d%vr0 prefixlen > 64 scopeid 0x2 > inet 192.168.0.1 netmask 0xffffff00 broadcast > 192.168.0.255 > ether 00:0e:a6:9c:c8:1d > media: Ethernet 10baseT/UTP > status: active > lp0: flags=8810 mtu > 1500 > lo0: flags=8049 mtu > 16384 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > inet 127.0.0.1 netmask 0xff000000 > tun0: flags=8051 mtu > 1492 > inet 6X.7X.5X.23X --> 6X.23X.25X.12X netmask > 0xffffffff > Opened by PID 215 > > > > ORIGINAL MESSAGE > Subject: > Re: FreeBSD 5.1 <-> WinXP Networking Problem UPDATE > #2 > > > freebsder wrote: > > All my computers can ping each other! BUT I can > only > > connect to the internet from the FreeBSD server. > All > > requests made by the WinXP machines go unanswered!! > > Yet when I ping from them, they can connect to any > > computer on the network BUT CANNOT ping OUTSIDE the > > network nor fetch any information outside this > > network. > > > > Any ideas why my FreeBSD machine is not routing > these > > requests and putting up a road block? > > > > RC.CONF > > > > font8x14="NO" > > font8x16="swiss-8x16" > > font8x8="swiss-8x8" > > inetd_enable="YES" > > linux_enable="YES" > > moused_enable="YES" > > moused_port="/dev/psm0" > > moused_type="auto" > > nfs_client_enable="YES" > > nfs_server_enable="YES" > > rpcbind_enable="YES" > > saver="rain" > > scrnmap="NO" > > usbd_enable="YES" > > ifconfig_vr0="DHCP" > > ifconfig_ed0="DHCP" > > > > ##initialise NIC > > network_interfaces="vr0 ed0 lo0 tun0" > > ifconfig tun0 > > > > #ifconfig vr0= "media 10baseT/UTP up" > > #ifconfig_ed0="inet 192.168.0.3 netmask > 255.255.0.0" > > > > #Changes as suggested: > > ifconfig_ed0="inet 192.168.1.1/24" > > ifconfig_vr0="inet 192.168.0.1/24 media > 10baseT/UTP > > up" > > > > #ifconfig_vr0="inet 192.168.0.1 netmask > 255.255.0.0" > > > > hostname="my.server.com" > > > > ##User ppp configuration > > ppp_enable="YES" > > ppp_mode="ddial" > > ppp_nat="NO" > > ppp_profile="bellnet" > > #ppp_user="root" > > > > > > ## Firewall > > gateway_enable="YES" > > firewall_enable="YES" > > firewall_type="OPEN" > > #firewall_quiet="NO" > > firewall_script="/etc/rc/firewall" > > natd_enable="YES" > > natd_interface="vr0" > > I believe you'll want: > natd_interface="ppp0" > or is it "tun0"? I don't remember (long time since > I've used ppp) but > the > upshot is that whatever interface ppp creates when it > dials, that's > what you > want natd_interface set to. > > > natd_flags="redirect_port tcp 192.168.1.1:80 > 80" > > rpc_statd_enable="YES" > > tcp_extensions="YES" > > > > ## Mail > > sendmail_enable="YES" > > > > __________________________________ > Do you Yahoo!? > Vote for the stars of Yahoo!'s next ad campaign! > http://advision.webevents.yahoo.com/yahoo/votelifeengine/ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- ------------------------------------------------------------------------------ ********** The information contained in this communication is confidential, private, proprietary, or otherwise privileged and is intended only for the use of the addressee. Unauthorized use, disclosure, distribution or copying is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately. ********** ==============================================================================