Date: Wed, 21 Nov 2001 13:06:24 +0200 From: "Patrick O'Reilly" <patrick@mip.co.za> To: "Thor Legvold" <tlegvold@hotmail.com> Cc: <freebsd-questions@FreeBSD.ORG> Subject: RE: Network setup questions Message-ID: <NDBBIMKICMDGDMNOOCAIIEEJDPAA.patrick@mip.co.za> In-Reply-To: <F98sH6Ubl7YQ9Pw1HO00001024a@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thor, I did not find it necessary to use netgraph, and I am not sure what the differences are between ppp and pptp. If ppp is of no use to you then ignore the rest of this message. I'll give a few vague hints as it is a while since I did this, and I have subsequently stopped using it. I used a 4.3 box to gateway to my dial-up ISP. I did "man ppp", and played with what I learned there. I had it working pretty quickly just plugging my modem into the first serial port on the box. I seem to recall that I used the -auto and -nat features. This way the box will dial automatically whenever you try to connect, and it will NAT your traffic depending on what IP the ISP gives you for the session. I also ran ipfw for firewall, but since ppp does nat, I had no need to use natd. You need to set up a ppp.conf file which has telephone numbers, login, password, time-out periods, etc. The man page explains it quite nicely. Finally, I set my LAN IPs in the 10.0.0.0/24 range. The NIC on the gateway box was 10.0.0.1, and other PCs recorded 10.0.0.1 as their default gateway. I was able to simply open IE on my windoze PC, and the BSD box would dial and connect immediately. Patrick. > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Thor Legvold > Sent: 21 November 2001 10:21 > To: freebsd-net@FreeBSD.ORG > Cc: freebsd-questions@FreeBSD.ORG > Subject: Network setup questions > > > Well, I've asked 3 or 4 times now in the last 3 weeks, and > haven't received > any answers. Posted to comp.unix.bsd.freebsd.misc and to both > questions- and > net@freebsd.org. > > That leads me to conclude that either I'm: asking the wrong question(s), > asking in an improper manner or asking the wrong people/wrong group. > > I *have* searched Deja, I *have* read the docs and attempted to > get this to > work - I really don't know where else I could be looking or > asking for more > information. If my question was worded poorly or inappropiate, I would > appreciate a pointer as to where/how/who I might contact in order > to get my > system up and configured properly. > > Again, I'm trying to log into an ISP via PPTP for internet access, using > mpd-netgraph but also trying out pptpclient. I have a small home > LAN that I > want to NAT/IPFW such that all machines can share the internet > connection. > I'm running FreeBSD 4.4-Stable. > > Regards, > Thor > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > 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?NDBBIMKICMDGDMNOOCAIIEEJDPAA.patrick>