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=3D"YES"
>sendmail_enable=3D"NO"
>moused_port=3D"/dev/cuaa0"   <----------  *******

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

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