Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

This might be needlessly complex, but here goes.

I've got two Firebox x550e devices. The first has a local IP of 10.0.0.1, public IP 64.x.x.x. The second has a local IP of 10.0.0.10, public IP 70.x.x.x.

There is an FTP server on our LAN with a private IP of 10.0.0.55. I've set up NAT rules in each of the Fireboxes, on the first firebox it is 64.x.x.x->10.0.0.55 tcp 21, on the second 70.x.x.x->10.0.0.55 tcp 21.

The first rule works fine. I can ftp to 64.x.x.x and everything's good. The second rule doesn't work. ftp to 70.x.x.x results in a connection timeout. The second firebox logs say the connection is being allowed through.

The default gateway on the FTP server is 10.0.0.1 (the first firebox) If I change the default gateway on the server to 10.0.0.10, the rule on the second firebox starts working, but the rule from the first firebox stops.

Is there some way to make this work for both rules?

share|improve this question
    
What OS is the ftp server? –  Zoredache Mar 16 '10 at 6:44
    
It is Windows Server 2003 –  James Mar 16 '10 at 14:06

1 Answer 1

up vote 3 down vote accepted

Unfortunately this is not very easy. I have accomplished something like this with policy based routing on the Linux server behind the NAT combined with assigning multiple IP addresses to the server. NAT1 would forward to one address, and NAT2 would forward to another address. I setup routes so that each address returned packets via the appropriate gateway.

I am not sure if this is possible on a Windows host.

share|improve this answer
    
I will try this. Thanks for your response! –  James Mar 16 '10 at 14:11
    
This worked if I added a second IP address from another subnet to the server. Good enough for me. Thanks Zoredache! –  James Mar 18 '10 at 4:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.