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

Re: HELP: Telneting Inbound via a PPP Connection



Rob Goodwin wrote:

> Hi there,
>

Hi :)

> 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.

When you say telnet do you mean telnet TO the linu xbox or beyond itusing it as a
router?

> What could be the problem?

many things :)

> 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.

did you check out /etc/hosts.deny?it ofetn has "ALL: PARANOID" I find this to be
too resrticitve
also I think 192.168.1.
is not "full enouhg" for hosts.allow (I could be wrong) have you tried
192.168.1.0 (or 255...im not sure which is right...I need to brush up on my IP)
-Steve

> 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



--
-=Signature has been removed because it made an unfair comparison between NT 4
and Linux =-
replacement: (ok I admit...I am bored..its a slow day at work)
[sjc@debian ~]$fortune -o
Anything more than 3 shakes is for fun.



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


Reply to: