🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.redhat.misc
Article #73

IPMasq/outside access problem!

#73
From: Monte Phillips
Date: Fri, 02 Jul 1999 00:00
96 lines
4089 bytes
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: <377c25d0.9448604@news.hal-pc.org>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111240,77acada551162ec8,start
X-Google-Attributes: gid111240,public
X-Google-Thread: 115a6f,77acada551162ec8,start
X-Google-Attributes: gid115a6f,public
X-Google-Thread: f9382,77acada551162ec8,start
X-Google-Attributes: gidf9382,public
X-Google-Thread: faa64,77acada551162ec8,start
X-Google-Attributes: gidfaa64,public
X-Google-Thread: 102983,77acada551162ec8,start
X-Google-Attributes: gid102983,public
X-Google-Thread: 10669a,77acada551162ec8,start
X-Google-Attributes: gid10669a,public
From: montep@hal-pc.org (Monte Phillips)
Subject: IPMasq/outside access problem!
Date: 1999/07/02
Message-ID: <377c25d0.9448604@news.hal-pc.org>
X-Deja-AN: 496273925
Content-Transfer-Encoding: 7bit
Sender: -remote-@a3x29.iwl.net
Organization: Houston Area League of PC Users, Inc.
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: linux.redhat.misc,alt.os.linux,aus.computers.linux,comp.os.linux,comp.os.linux.networking,comp.protocols.smb