Can't ftp/telnet/www from outside, but it works inside

Can't ftp/telnet/www from outside, but it works inside

Post by Kelvin Leu » Fri, 25 Aug 2000 04:00:00



I have a RH Linux 6 setup as a home firewall with IP Masq,
ftp/telnet/httpd work within the home LAN. But no ftp/telnet/httpd
access is successfully from the outside through the DSL line. Funny
thing is that  I can ping from outside to my linux firewall. Access to
internet from inside the home LAN is working fine as well. Where
should I start to check with? I have a status IP with domain name
assigned.

Kelvin

 
 
 

Can't ftp/telnet/www from outside, but it works inside

Post by DEEK » Fri, 25 Aug 2000 04:00:00



> I have a RH Linux 6 setup as a home firewall with IP Masq,
> ftp/telnet/httpd work within the home LAN. But no ftp/telnet/httpd
> access is successfully from the outside through the DSL line. Funny
> thing is that  I can ping from outside to my linux firewall. Access to
> internet from inside the home LAN is working fine as well. Where
> should I start to check with? I have a status IP with domain name
> assigned.

> Kelvin

could just make those particular ports avail in your routing table...

something like:

iptables -A INPUT -i ppp0 -p tcp -destination-port 80 -j ACCEPT
iptables -A INPUT -i ppp0 -p udp -destination-port 80 -j ACCEPT
iptables -A INPUT -i ppp0 -p tcp -destination-port 443 -j ACCEPT
iptables -A INPUT -i ppp0 -p udp -destination-port 443-j ACCEPT
iptables -A INPUT -i ppp0 -p tcp -destination-port 20 -j ACCEPT
iptables -A INPUT -i ppp0 -p tcp -destination-port 21 -j ACCEPT
iptables -A INPUT -i ppp0 -p tcp -destination-port 23 -j ACCEPT

but, then, I don't know which kernel or rel of iptables (ipfwadm) your
usin'

--
I am a ~/.signature virus. I am taking over
your ~/.signature file now. Flames to

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

 
 
 

1. Can't Telnet/FTP to Linux Box from outside hosts

Hi, I have some type of security feature activated preventing telnet and
FTP access to my linux box from outside hosts, but I can't figure out
what it is.  http and finger from outside work fine, but opening a
telnet connection, for example, returns "Connection closed by foreign
host".  /etc/hosts.allow reads "in.smtp, telnetd, ftpd, fingerd: ALL"
and /etc/hosts.deny is blank.  I'm running Slackware 3.4 (Kernel 2.0.30)
on a dial-up connection.  I can telnet and FTP to localhost just
fine.    Any help would be greatly appreciated.

--

2. kd3 build failed

3. deny telnet to outside; allow from inside?

4. Cannot set process environment.

5. FTP client inside linux firewall communicating with FTP server inside another linux firewall

6. Upgrading to new BSD 4.3/4.4 from old 1987 sources

7. 98 telnet doesn't work but ftp works

8. DirectoryIndex not working

9. On a Linux router, ftp& telnet works but ping doesn't work .

10. no www, no ftp, no telnet but ping and name resolution working after router installation

11. Telnet INHOUSE not working, outside works fine.

12. Can't FTP to my FTP server from outside

13. nslookup works; telnet/ftp require IP #'s (can't process host names)