From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31287 invoked from network); 9 Feb 2000 16:29:11 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 9 Feb 2000 16:29:11 -0000 Received: from fwall00.jayoung.com ([206.251.84.35]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA26499 for ; Wed, 9 Feb 2000 11:29:10 -0500 Received: from user (jdewitt [192.168.255.24]) by fwall00.jayoung.com (8.9.3/8.8.7) with SMTP id IAA23827 for ; Wed, 9 Feb 2000 08:37:26 -0800 Message-ID: <035d01bf731a$bee92e80$18ffa8c0@jayoung.com> Reply-To: "Josiah DeWitt" From: "Josiah DeWitt" To: References: <1B15C62CF9A0D311BD210008C7CF02E51563E9@tayexc04.tay.dec.com> Subject: Re: IP Masquerading Date: Wed, 9 Feb 2000 08:28:49 -0800 Organization: JA Young MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Josh, Yes, you'll have to recompile your kernel with the options specified in the HOWTO doc. It's really not hard. After that, the key to verifying masquerading is working are the following lines: #set default policies () /sbin/ipchains -P forward ACCEPT /sbin/ipchains -P input ACCEPT /sbin/ipchains -P output ACCEPT #Masquerade local private network addresses /sbin/ipchains -A forward -j MASQ -s 192.168.0.0/24 -d 0.0.0.0/0 This will allow anyone on the 192.168.0.0 / 255.255.255.0 network to be masqueraded to the internet. This is verbatim from my server (which works). Hope this works for you -j ----- Original Message ----- From: Wingell, Joshua To: Sent: Wednesday, February 09, 2000 6:03 AM Subject: IP Masquerading > Hello, > > Like I said in my previous message, I got Redhat 6.1 installed just > fine. What an amazing install process. Sure beats trying to install > Linux m68K on my Amiga 3 years ago. > > It recognized my D-Link ethernet card (with a DEC chip on it) without a > hitch. I gave the computer the IP 192.168.0.1. > > I have 2 other comptuers on my ethernet network. Both are Compaq PCs (a > laptop and a PII tower). > > I had Windows 2000 set up with "Internet Connection Sharing" before, > which is M$'s version of IP NAT. Worked great. Just check a box and it > worked. > > Does anyone know if the kernel supplied with RH 6.1 has IP Masquerading > compiled in? > > I followed the HOW-TO on IP Masquerading last night, but I couldn't get > the PC to see the internet. I am wondering if there is more to this. I > added the lines: > > #rc.firewall script - Start IPMASQ and the firewall > /etc/rc.d/rc.firewall > > to my /etc/rc.d/rc.local file. > > And I created the rc.firewall file just like it says to at: > http://www.linuxdoc.org/HOWTO/IP-Masquerade-HOWTO-3.html > > I can ping the PC just fine. > > Anyway, am I missing something? I am sure there are people on this list > that have IP Masquerading working on their own network :-) > > This isn't so much an Alpha specific thing, I guess. > > Thanks, > Josh > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > >