🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.redhat.misc
Article #75

Re: IPMasq/outside access problem!

#75
From: Matt Hyclak
Date: Fri, 02 Jul 1999 00:00
105 lines
4761 bytes
Do you have DNS setup on the windows machine? It sounds like you know what
you're doing, but maybe a statement of the obvious is all you need as a
reminder ;-)  Also make sure you have 192.168.0.1 as your gateway from the
windows machine.

Matt

Monte Phillips <montep@hal-pc.org> wrote in message
news:377c25d0.9448604@news.hal-pc.org...
> The set up:  Linux server <- Win98  RH6.0 2.2.9
> ethernet samba 2.0.4b  ALL samba functions work both directions.
> ppp dials and connects  lynx/netscape access net OK
> IPv4 forwarding is compiled in kernel and is OK on boot
>
> To initiate the IP masquerade I enter
> ipchains -P forward DENY
> ipchains -A forward -i ppp0 -j MASQ
> (no errors)
>
> ppp-up  (dials and connects, gets dynamic IP all OK)
> ping ISP address and it does nothing
>
> go to Winbox turn on browser call my Apache locally it works
> call any IP ouside of my local network and I get error site not found
>
> Below is data from all the files I could think of that are involved.
>
> What obvious snake is biting me?
> --------------------------------------------
> (/etc/HOSTNAME)
> LinuxBox
>
> (/etc/hosts)
> 127.0.0.1 localhost localhost.localdomain
> 192.168.0.1 LinuxBox.cmx LinuxBox
> 192.168.0.2 Win98
>
> (/etc/lmhosts)
> localhost    LinuxBox
> Win98       Win98
>
> (/etc/hosts.allow)
> #
> # hosts.allow This file describes the names of the hosts which are
> # allowed to use the local INET services, as decided
> # by the '/usr/sbin/tcpd' server.
> #
> Win98
> swat:           127.0.0.1    192.168.0.
>
> (/etc/hosts.deny)
> #
> # hosts.deny This file describes the names of the hosts which are
> # *not* allowed to use the local INET services, as
> decided
> # by the '/usr/sbin/tcpd' server.
>
> (/etc/host.conf)
> order hosts, nis, bind
> multi on
>
> (/etc/resolve.conf)
> search hal-pc.org LinuxBox.cxm
> nameserver 204.52.135.1
> nameserver 204.52.135.2
> nameserver 192.168.0.1
>
> (Results of ]# route )
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref
> Use Iface
> 204.52.135.1    LinuxBox.cmx    255.255.255.255 UGH   0      0
> 0 eth0
> LinuxBox.cmx    *               255.255.255.255 UH    0      0
> 0 eth0
> 127.0.0.1       *               255.255.255.255 UH    0      0
> 0 lo
> 192.168.0.0     *               255.255.255.0   U     0      0
> 0 eth0
> 127.0.0.0       *               255.0.0.0       U     0      0
> 0 lo
> default         LinuxBox.cmx    0.0.0.0         UG    0      0
> 0 eth0
>
> (results of ]# ifconfig)
> eth0      Link encap:Ethernet  HWaddr 00:20:AF:68:40:3F
>           inet addr:192.168.0.1  Bcast:192.168.0.255
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:724 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:747 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           Interrupt:11 Base address:0x240
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:3924  Metric:1
>           RX packets:6432 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:6432 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>
> Thats it.  Just won't let network access the ppp0(outside world).
> and Yep, I've read the manuals Net-3, Ip-Masq, Ip-Chains...not only
> read them I have proofed them, turned them into pdf files and printed
> them.<G>
Technical Details
Message-ID: <upYe3.10386$BB5.109847@storm.twcol.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <377c25d0.9448604@news.hal-pc.org>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111240,77acada551162ec8
X-Google-Attributes: gid111240,public
X-Google-Thread: 115a6f,77acada551162ec8
X-Google-Attributes: gid115a6f,public
X-Google-Thread: f9382,77acada551162ec8
X-Google-Attributes: gidf9382,public
X-Google-Thread: 10669a,77acada551162ec8
X-Google-Attributes: gid10669a,public
X-Google-Thread: faa64,77acada551162ec8
X-Google-Attributes: gidfaa64,public
X-Google-Thread: 102983,77acada551162ec8
X-Google-Attributes: gid102983,public
From: "Matt Hyclak" <mh390397@nospam.ohiou.edu>
Subject: Re: IPMasq/outside access problem!
Date: 1999/07/02
Message-ID: <upYe3.10386$BB5.109847@storm.twcol.com>
X-Deja-AN: 496304135
References: <377c25d0.9448604@news.hal-pc.org>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@rr.com
X-Trace: storm.twcol.com 930894554 24.95.79.44 (Fri, 02 Jul 1999 01:49:14 EDT)
Organization: Time Warner Communications Columbus
X-MSMail-Priority: Normal
NNTP-Posting-Date: Fri, 02 Jul 1999 01:49:14 EDT
Newsgroups: linux.redhat.misc,alt.os.linux,aus.computers.linux,comp.os.linux,comp.os.linux.networking,comp.protocols.smb