Re: ipmasq and howto
Try something like this with your IP No's in /etc/init.d/network
#! /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
#ethernet card
ifconfig eth0 192.168.1.1
route -add net 192.168.1.0
route -add net 0.0.0.0 gw 192.168.1.1
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ifconfig ppp ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
route add -net ${NETWORK}
[ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1
/sbin/ipfwadm -F -a acc -m -b -S 192.168.1.0/24 -D 0.0.0.0/0
----- Original Message -----
From: matt garman <garman@uiuc.edu>
To: Jeff Gordon <jeff.gordon@wellnow.com>
Sent: Saturday, April 01, 2000 6:47 AM
Subject: Re: ipmasq and howto
> On Fri, Mar 31, 2000 at 07:52:01AM -0500, Jeff Gordon wrote:
> > The answer seems to be, "Yes...sort of." :-) See if this helps:
> > ...
>
> Thanks for all the help! But unfortunately it's not working.
>
> I double checked the IP-Masquerading howto to make sure I have all the
> necessary kernel components compiled in. I also installed the ipmasq
> package and rebooted. When I establish a PPP connection, however, I
> cannot see the external network (i.e. the internet) from my roommate's
> computer (e.g. cannot ping outside of 192.168.*, cannot load web pages).
>
> By the way, I do have my roommate's computer recognizing mine and mine
> seeing his (I've got samba working to share files between the two
> computers also).
>
> I also tried following your steps, still no luck. I've got a network
> traffic monitor utility called wmnet running on both my modem and ethernet
> card. I had my roommate watch these programs for activity while I tried
> pinging, telnetting and httping from his computer. He said he saw
> activity on both monitors, but still I couldn't get productive results on
> his computer. He's running Windows 98.
>
> Anyone have any ideas? Are there any config files I could post that would
> be useful in diagnosing the problem, or output of any particular program?
>
> Thanks,
> Matt
>
> --
> Matt Garman, garman@ews.uiuc.edu
> "I was just reading the interview with Korn in _Guitar_World_, and one of
> the guitarists said they don't play guitar solos because they've been
> done. Well, I guess that's true if you stick with what's been done.
> But you have to look beyond that; there's a lot more left to say on the
> guitar." -- Warren Haynes of Gov't Mule
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org <
/dev/null
>
>
Reply to: