Solved

pix 501 ftp problem

Posted on 2011-09-28
8
590 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

 
LVL 12

Expert Comment

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

0
 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ARP not working as expected 11 79
Automatic Windows Service stops by itself 6 108
Recover from a ISCSI Share In Windows 2 67
Group Policy 5 17
A safe way to clean winsxs folder from your windows server 2008 R2 editions
When speed and performance are vital to revenue, companies must have complete confidence in their cloud environment.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …

734 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