?
Solved

pix 501 ftp problem

Posted on 2011-09-28
8
Medium Priority
?
603 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 2000 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
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Many of the companies I’ve worked with have embraced cloud solutions due to their desire to “get out of the datacenter business.” The ability to achieve better security and availability, and the speed with which they are able to deploy, is far grea…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
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…
Suggested Courses

752 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