From owner-freebsd-questions Mon Jan 26 11:06:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA06526 for questions-outgoing; Mon, 26 Jan 1998 11:06:02 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from linum.cofc.edu (linum.cofc.edu [153.9.35.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA06475 for ; Mon, 26 Jan 1998 11:05:58 -0800 (PST) (envelope-from astrand@linum.cofc.edu) Received: (from astrand@localhost) by linum.cofc.edu (8.8.7/8.8.7) id NAA02436; Mon, 26 Jan 1998 13:45:48 -0500 (EST) (envelope-from astrand) To: freebsd-questions@FreeBSD.ORG Subject: IP Masquerading, NAT, etc From: Allan Strand Date: 26 Jan 1998 13:45:48 -0500 Message-ID: <861zxvm5ur.fsf@linum.cofc.edu> Lines: 40 X-Mailer: Gnus v5.5/Emacs 20.2 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk Hi all, I have two machines. Both run FreeBSD 2.2.5. One is a desktop that is hard wired into the outside network via the ed0 interface. The other is a laptop that I currently use via user-mode ppp over a modem at home. My ISP (my employer) provides me with a dynamically assigned IP address every time I log on to the network via the phone. The laptop does not have a "real" IP address as of yet. When I bring my laptop to work, I'd like to communicate with the rest of the outside world via a serial connection. I think I can do this by using the desktop machine as a gateway that implements NAT between the ed0 interface and some serial interface. A simple diagram: ed0 serial outside world <===> desktop machine <======> laptop My questions are: 1) Am I right in thinking that this is possible 2) If the answer to 1 is yes, what software should I use to achieve the connection. a) should I use ppp on both the laptop and desktop or b) should I run natd on the desktop and use slip or ppp on the laptop, or c) is there some solution that is better (or actually works). Any pointers or comments would be greatly appreciated. Cheers, A. -- Allan E. Strand Internet: stranda@cofc.edu Department of Biology Phone: (803) 953-8085 College of Charleston Fax: (803) 953-5453 Charleston, SC 29424