SuSE linux 8.0 & IPMasq

Matt Pruett plug-discuss@lists.plug.phoenix.az.us
31 Aug 2002 04:17:41 -0700


Can you resolve names? If not you need to add the ip's of some dns
servers in your /etc/resolv.conf  but the better way to do it is setup a
caching only dns server on CompA, have CompA eather do a root query or
forward to a faster dns server, then use that box in your
/etc/resolv.conf for both computers.

http://www.tldp.org/HOWTO/DNS-HOWTO.html


On Fri, 2002-08-30 at 09:47, george@georgetoft.com wrote:
> You should be able to just open up a browser on Comp B and surf.  If you 
> can't, what bowser are you using, and what is the error?
> 
> Your next task is to run a port scan/vulnerability scan against Comp A while 
> hooked up to the internet.  EdgeOS.com can help with the vulnerability test 
> (highly recommended).  I recommend you check out my security pages at 
> http://www.georgetoft.com/linux
> 
> George
> 
> 
> Quoting Clayton Stapleton <vernon@impulsedata.net>:
> 
> > On Wednesday 28 August 2002 04:54 pm, George Toft wrote:
> > 
> > > Comp B can use a static IP, but you need to have a default gateway
> > set
> > > up - the IP address of Comp A.  Comp A does not need one NIC, and
> > your
> > > ppp script will take care of adding the default gw to your routing
> > > table.
> > >
> > > Let us know what happens.
> > >
> > > George
> > 
> > Hi George
> > Took your suggesstion and changed the gateway for comp B to
> > 192.168.0.1 which is the ip for comp A. Now comp B can ping the
> > dynamic
> > address of my ISP.
> > 
> > This is before the change:
> > eric:~ # route -n
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags Metric Ref    Use
> > Iface
> > 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0
> > eth0
> > 
> > This is after the change:
> > eric:~ # route -n
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags Metric Ref    Use
> > Iface
> > 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0
> > eth0
> > 0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0
> > eth0
> > 
> > eric:~ # ping -c 4 64.24.210.88
> > PING 64.24.210.88 (64.24.210.88) from 192.168.0.2 : 56(84) bytes of
> > data.
> > 64 bytes from 64.24.210.88: icmp_seq=1 ttl=255 time=0.216 ms
> > 64 bytes from 64.24.210.88: icmp_seq=2 ttl=255 time=0.193 ms
> > 64 bytes from 64.24.210.88: icmp_seq=3 ttl=255 time=0.192 ms
> > 64 bytes from 64.24.210.88: icmp_seq=4 ttl=255 time=0.197 ms
> > 
> > --- 64.24.210.88 ping statistics ---
> > 4 packets transmitted, 4 received, 0% loss, time 3000ms
> > rtt min/avg/max/mdev = 0.192/0.199/0.216/0.017 ms
> > 
> > Now that I can ping the internet form comp B how can I web browser
> > to connect to the internet.
> > 
> > TIA
> > Clayton
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change  you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss