[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

HELP: Telneting Inbound via a PPP Connection



Hi there,

I'm having a serious problem here.   I have been able to set up my machine
to accept PPP connection.  I can dial from a win95 machine and use PAP to
authenticate and connect.  The IP address is assigned to the win95 machine
alright and I can then ping my linux box but that's about it.  Any attempt
to telnet or ftp yields nothing.  no login prompt, etc.

What could be the problem?

The linux box IP is 192.168.1.1 and the IP being assigned to ttyS2 is
192.168.1.10.  I also have IP masquerading set up for the LAN. (although it
isn't connected at the moment when it was it was working fine)  I thought
the most obvious things would be  in the hosts.allow or the ipfwadm set up
in rc.local  so I posted them below.  If it could be something else please
let me know.

like I said, a ping to 192.168.1.1 over the modem works without a problem
as does using the linux box as an Internet gateway for the LAN.   I just
can't telnet or ftp in over a modem.

thanks,

rob


/etc/hosts.allow
----------------
ALL: 192.168.1.
portmap: 192.168.1.

/etc/rc.d/rc.local
------------------------
 /sbin/ipfwadm -F -f
  /sbin/ipfwadm -F -p deny
  /sbin/ipfwadm -F -a accept -S 192.168.1.0/24 -D 192.168.1.0/24
  /sbin/ipfwadm -F -a masquerade -S 192.168.1.0/24 -D 0.0.0.0/0
  /sbin/ipfwadm -F -a deny -S 0.0.0.0/0 -D 192.168.1.0/24 netbios-ns -P tcp
  /sbin/ipfwadm -F -a deny -S 0.0.0.0/0 -D 192.168.1.0/24 netbios-ns -P udp
  /sbin/ipfwadm -F -a deny -S 0.0.0.0/0 -D 192.168.1.0/24 netbios-dgm -P tcp
  /sbin/ipfwadm -F -a deny -S 0.0.0.0/0 -D 192.168.1.0/24 netbios-dgm -P udp
  /sbin/ipfwadm -F -a deny -S 0.0.0.0/0 -D 192.168.1.0/24 netbios-ssn -P tcp
  /sbin/ipfwadm -I -f
  /sbin/ipfwadm -I -a deny -S 192.168.1.0/24 netbios-ns -D 192.168.1.1
domain -P udp


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: