Solved

Publishing FTP site on ISA 2006 on alternate port

Posted on 2009-07-07
10
1,164 Views
Last Modified: 2012-05-07
I have ISA 2006 going to a win2k3 server.  I was able to setup an ftp site quite easily on port 21.  But, I need to have additional ftp sites on the same IP.  I setup the second ftp server on the win2k3 server easily and got it running.  I have different welcome messages for each ftp site, so I know for sure which one I'm hitting.  I tried to publish the second ftp site on alternate port (currently using 99).  In ISA, it's listening on port 99 and forwarding the requests to port 99 on the win2k3 server.  In viewing the log file on my ftp client, I'm able to see that it's hitting the ftp site on port 99 for login and gets past that.  When the ftp client tries to run the port command, I get "invalid port command", which is coming from the ISA server, not the win2k3 server.  I checked the ftp logs on the server and can see the authentication requests getting through, but nothing about the invalid port command, which seems to be coming directly from ISA 2006 server.  

Any ideas on what I need to do to allow this second ftp server on ISA 2006 to get past the invalid port command error?
0
Comment
Question by:andersjj_IL
  • 5
  • 3
10 Comments
 
LVL 29

Expert Comment

by:pwindell
ID: 24794990
You would have had to crate a new protocol for TCP, 99-99, Inbound in order to do this,...but you probably forgot about the FTP Access Filter that is a requirement.

Contrary to what many believe FTP is not a simple protocol,..it is fact a very complex protocol. Hence without the Application Filter "FTP Access Filter" the ISA cannot keep up with and maintain all the port juggling that happens within the protocol.

Go to the Publsihing Rule properties
Go to the Traffic Tab
With the Protocol showing in the dropdown, select the Properties button
Select the Parameters Tab
Down in the Application Filters section enable the FTP Access Filter by checking the checkbox.
0
 

Author Comment

by:andersjj_IL
ID: 24796645
Did that, still getting error.

But, when I'm in the paramters tab off the properties button where I checked off the FTP Access filter, the "Primary connections" box is showing port 21, even though I'm trying to do this one on 99.  There are three buttons to Add Remote or Edit, but they are all greyed out.  Seems like I should be putting the 99 in there also, but it doesn't seem to be any way of doing that with the buttons.
0
 
LVL 29

Expert Comment

by:pwindell
ID: 24796954
Please tell me that you did not do this to the original FTP Protocol packaged with ISA.
Never touch the original Protocols.
Create "new" protocols and work with them for special situations like this.
Create this:
Name:  "FTP-99 Server"
Port Range: 99-99
Type: TCP
Direction: Inbound
Secondary Connections:  None
Application Filters:  FTP Access Filter
0
 
LVL 29

Expert Comment

by:pwindell
ID: 24797045
Ok, wait let's just start over.  Delete the Publishig Rule and delete the protocol if you created one.
 Do these,..in this order:
1. Create a new protocol
     Name:  "FTP-99 Server"
     Port Range: 99-99
     Type: TCP
     Direction: Inbound
     Secondary Connections:  None
     Application Filters:  FTP Access Filter
2. Create a new Non-Web Server Publishing Rule
     Name: "Publishing, FTP-99"
     IP#:  (the IP# of the FTP Server)
     Protocol: "FTP-99 Server"  (do not touch the Ports Button)
     Listerner: External, Selected IP (IP# you want to use)

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:andersjj_IL
ID: 24799597
hmmm....did that, still getting the same thing.  The original ftp server works fine.  I can hit the second ftp server internally fine, so it works without ISA.  I looked in the alerts tab and got this...

Description: The server publishing rule FTP-99, which maps 192.168.5.98:99:TCP to 63.xx.xx.xx:99 for the protocol TCP-99, was unable to bind a socket for the server. The server publishing rule cannot be applied.
 The failure is due to error: You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again.

I know all the servers on the network have a unique IP address, so not sure where the duplication would be.   The original ftp site is on this server as well, so I would think I would get an alert for both ftp publishing rules or they would both work....
0
 
LVL 29

Expert Comment

by:pwindell
ID: 24803450
I'd say that the Rule and the Protocol are fine.  I think you have some kind of issue that is not related to ISA.
0
 

Author Comment

by:andersjj_IL
ID: 24831215
Oh well, not sure what I"m doing wrong.  I just put up a new public IP address on the ISA, put another private IP address on the ftp server, and just did it that way.  I can use another public IP on the ISA anyway, so it's not such a big deal.  That way I can just leave it on port 21 on the second public IP address...
0
 
LVL 29

Expert Comment

by:pwindell
ID: 24839317
Ok, sounds good.
 
0
 

Accepted Solution

by:
ee_auto earned 0 total points
ID: 25503158
Question PAQ'd, 500 points refunded, and stored in the solution database.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Forefront TMG Client Connection Failes with Checksum Error 7 144
Outlook Send test e-mail message 9 297
Unable to open a YouTube Video 4 321
Firewall Rule 1 270
There are three types of ISA client that can be configured - these can be individual clients or multiples of a client on each PC or server SecureNAT. A SecureNAT client for ISA server is a client machine, work station or server, that has its defa…
ISA Server detected routes through the network adapter LAN that do not correlate with the network to which this network adapter belongs What does this mean and how can one go about correcting it? In simple terms, this error message indicates t…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

947 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

18 Experts available now in Live!

Get 1:1 Help Now