From: "Josiah DeWitt" <jdewitt@mx.jayoung.com>
To: <axp-list@redhat.com>
Subject: Re: IP Masquerading
Date: Wed, 9 Feb 2000 08:28:49 -0800 [thread overview]
Message-ID: <035d01bf731a$bee92e80$18ffa8c0@jayoung.com> (raw)
In-Reply-To: 1B15C62CF9A0D311BD210008C7CF02E51563E9@tayexc04.tay.dec.com
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 <Joshua.Wingell@compaq.com>
To: <axp-list@redhat.com>
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
>
>
next prev parent reply other threads:[~2000-02-09 16:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-09 14:03 IP Masquerading Wingell, Joshua
2000-02-09 16:28 ` Josiah DeWitt [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-08-10 20:46 IP masquerading Igor Schein
1999-08-10 21:05 ` Kenneth James Baker
1999-08-10 21:11 ` Igor Schein
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox