Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2000 16:11:36 +0000
From:      John Murphy <john253@crosswinds.net>
To:        questions@FreeBSD.ORG
Subject:   Re: Problem with NAT (on PPP)
Message-ID:  <p8sh3ts23b19vqm25ncmgriug8j05hh1rm@4ax.com>
In-Reply-To: <000001c06567$f29ff520$0200a8c0@raptor>
References:  <000001c06567$f29ff520$0200a8c0@raptor>

next in thread | previous in thread | raw e-mail | index | archive | help

Ricardo Cosme wrote:

>Hello.
>
>I installed FreeBSD 4.2, default Kernel. I want to enable NAT through PPP to
>connect to the internet through my other windows boxes. The fact is that i
>can't make it work. I configures windows the way the manual told. Do I have
>to configure / install anything else on my FreeBSD box for the NAT to work ?
>
>My config files:
>
>rc.conf
># Enable network daemons for user convenience.
># -- sysinstall generated deltas -- #
>linux_enable="YES"
>sendmail_enable="NO"
>moused_port="/dev/cuaa0"   <----------  *******

You seem to have both the mouse and the modem using the same serial port.

>moused_type="microsoft"
>moused_enable="NO"
>saver="logo"
>keyrate="fast"
>keymap="pt.iso"
>gateway_enable="YES"
>sshd_enable="YES"
>inetd_enable="YES"
># -- sysinstall generated deltas -- #
>font8x8="swiss-8x8"
>font8x14="NO"
>font8x16="swiss-8x16"
># -- sysinstall generated deltas -- #
>font8x8="NO"
>font8x14="NO"
>font8x16="NO"
># -- sysinstall generated deltas -- #
>ifconfig_rl0="inet 192.168.0.1  netmask 255.255.255.0"
>hostname="kamikaze.home"
>ppp_enable="YES"
>ppp_mode="auto"
>ppp_nat="YES"
>ppp_profile="demand"
>
>ppp.conf
>default:
> ident user-ppp VERSION (built COMPILATIONDATE)
>
> # Ensure that "device" references the correct serial port
> # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
> #
> set device /dev/cuaa0   <----------  *******

You seem to have both the mouse and the modem set to use the same serial port.

<snip>

>Do I need to configure / install anything else ?
>

No; though you may find ppp's filters are useful...

HTH
John.
PS: Please post plain text only, thanks.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p8sh3ts23b19vqm25ncmgriug8j05hh1rm>