Solved

pix 501 ftp problem

Posted on 2011-09-28
8
563 Views
Last Modified: 2012-05-12
Experts,
I just recently built a sever using Windows Server 2008 R2 and set up an FTP site using IIS 7.0.
The server currently lives behind a pix 501 firewall.  From any machine behind the pix 501 I can ftp to the site and also connect via telnet ( telnet X.X.X.9  21) with no problems.  When i try to do both these tests from outside the firewall it just kind of hangs and then stops trying.
I can remote desktop to the server without problems either.

I am a basic pix user but I would appreciate any advice as to why it might be failing.
Also, if you see any glaring problems in my config ( see below)  I would appreciate you pointing them out as well.
Thanks
John

time(config)# show run

: Saved

:

PIX Version 6.3(5)

interface ethernet0 auto

interface ethernet1 100full

nameif ethernet0 outside security0

nameif ethernet1 inside security100

hostname time

domain-name ciscopix.com

fixup protocol dns maximum-length 512

fixup protocol ftp 21

fixup protocol h323 h225 1720

fixup protocol h323 ras 1718-1719

fixup protocol http 80

fixup protocol rsh 514

fixup protocol rtsp 554

fixup protocol sip 5060

fixup protocol sip udp 5060

fixup protocol skinny 2000

fixup protocol smtp 25

fixup protocol sqlnet 1521

fixup protocol tftp 69

         
names

access-list timewarner permit icmp any any

access-list timewarner permit tcp any host X.X.X.10 eq 3389

access-list timewarner permit tcp any host X.X.X.9 eq ftp

access-list timewarner permit tcp any host X.X.X.9 eq ftp-data

pager lines 24

logging on

logging timestamp

logging trap warnings

icmp deny any outside

mtu outside 1500

mtu inside 1500

ip address outside X.X.X.11 255.255.255.128

ip address inside 192.168.1.1 255.255.255.0

ip audit info action alarm

ip audit attack action alarm

pdm history enable

arp timeout 14400

global (outside) 1 interface

nat (inside) 1 0.0.0.0 0.0.0.0 0 0

static (inside,outside) X.X.X.10 192.168.1.50 netmask 255.255.255.255 0 0

static (inside,outside) X.X.X.9 192.168.1.49 netmask 255.255.255.255 0 0

access-group timewarner in interface outside

route outside 0.0.0.0 0.0.0.0 X.X.X.1 1

           
timeout xlate 3:00:00

timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00

timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00

timeout sip-disconnect 0:02:00 sip-invite 0:03:00

timeout uauth 0:05:00 absolute

aaa-server TACACS+ protocol tacacs+

aaa-server TACACS+ max-failed-attempts 3

aaa-server TACACS+ deadtime 10

aaa-server RADIUS protocol radius

aaa-server RADIUS max-failed-attempts 3

aaa-server RADIUS deadtime 10

aaa-server LOCAL protocol local

http 192.168.1.0 255.255.255.0 inside

no snmp-server location

no snmp-server contact

snmp-server community public

no snmp-server enable traps

floodguard enable

telnet timeout 5

ssh timeout 5

console timeout 0

dhcpd address 192.168.1.2-192.168.1.30 inside

dhcpd dns 24.25.5.60 24.25.5.61

dhcpd lease 3600

             
dhcpd ping_timeout 750

dhcpd auto_config outside

dhcpd enable inside

terminal width 80

Cryptochecksum:a2542b5249fe802323acc89a19ddc282

: end


time(config)#




0
Comment
Question by:sat444
  • 4
  • 4
8 Comments
 
LVL 12

Expert Comment

by:jjmartineziii
ID: 36719634
Here is your ACL:
access-list timewarner permit icmp any any

access-list timewarner permit tcp any host X.X.X.10 eq 3389

access-list timewarner permit tcp any host X.X.X.9 eq ftp

access-list timewarner permit tcp any host X.X.X.9 eq ftp-data

According to this, you are only allowing RDP to host .10. You are allowing FTP to .9.


Did you say you are able to RDP to .9?? You shouldn't be able to.
0
 
LVL 2

Author Comment

by:sat444
ID: 36719789
What you have stated is correct.
I can ONLY remote desktop to .10  and should be able to FTP to .9 but it does not allow me to.

When I try the following command ( telnet X.X.X.9 21) from a laptop inside the firewall it gives me:
220 Microsoft FTP Service

When i try the same command from outside the firewall it gives me a blinking cursor for several minutes and just times out.




0
 
LVL 12

Accepted Solution

by:
jjmartineziii earned 500 total points
ID: 36719806
Use this website:

http://www.t1shopper.com/tools/port-scan/

Scan those two IPs (.9 and .10) using the "check all" option. What does that tell you?
0
 
LVL 12

Expert Comment

by:jjmartineziii
ID: 36719817
Also, please verify the windows firewall is off for troubleshooting purposes.

0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 2

Author Comment

by:sat444
ID: 36719992
Windows Firewall is off on the server.
I used the tool  ( checked all option) and got the following results:

X.X.X.10
is responding on port 3389 (ms-wbt-server).
( All other ports are not responding)

X.X.X.9
is responding on port 21 (ftp).
( All other ports are not responding)

John
0
 
LVL 12

Expert Comment

by:jjmartineziii
ID: 36720015
Since you are getting back a "responding on port 21", I don't believe the issue lies in your PIX.

Try this website:

https://www.wormly.com/test_ftp_server

Can it connect to your FTP server?

0
 
LVL 2

Author Comment

by:sat444
ID: 36720123
When I seen I was getting a response on port 21 I realized the firewall was doing it's job.
Just for the hell of it I rebooted the server and sure enough when it came back up I can now
telnet to the ip address via port 21 and can also get to it via my broswer and cmd prompt.

Thanks for your help.
John
0
 
LVL 2

Author Closing Comment

by:sat444
ID: 36720133
The port scan tool helped me realize it was not my firewall and allowed me to focus on just the ftp server itself.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now