• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 742
  • Last Modified:

FTP Server on Win2k3 via DMZ in CISCO 515

Hi all,

Would some one please give me an overview of what I would need to do to put a FTP server (Win2k3) on the DMZ port of my Cisco 515.
I have to use Win2k3 web server as the License is already purchased. I have built the server and its ready to go...
I just need to allow access for web users to download SW builds. I'm confused how I would manage the FTP server from inside the LAN.
Also what security measures should I take on the FTP server? I will keep it patched and remove any accounts that could gain access to the internal LAN. Is this enough? I'd guess not.
I only have a couple of weeks to nail this, so plenty of points up for grabs. I'm a bit new to some of this so the clearer the better. Thank you all.



0
TimWe
Asked:
TimWe
  • 7
  • 7
1 Solution
 
lrmooreCommented:
The PIX part is easy.

Assume your INside interface is 192.168.111.1
Assume your DMZ interface is 192.168.122.1
Assume your FTP server is 192.168.122.22 - set default gateway to be 192.168.122.1
A.B.C.D = public IP address dedicated to FTP server
# create static NAT map from public IP to private IP
static (dmz,outside) A.B.C.D 192.168.122.22 netmask 255.255.255.255
# create inbound access-list entries (assuming that you already have an inbound acl for other purposes, add this line:
access-list inbound_acl permit tcp any host A.B.C.D eq ftp

# to manage the server on the DMZ from the Inside, I suggest enabling Terminal Services on the server and only using that to manage it. No port entires or acls required, but you do want to NOT NAT between the inside and DMZ host:

access-list NO_NAT permit tcp 192.168.111.0 255.255.255.0 192.168.122.22 eq 3389

Now, from an inside PC, use Remote Desktop Connect to the Win2k3 server, using it's 'private' ip address 192.168.122.22

I will look for more links specific to 'locking down' a Win2k3 FTP server...

0
 
TimWeAuthor Commented:
Thanks Irmoore for the very speedy response, If I get stuck is okay to post a follow up?
Other than that many thanks indeed.

T
0
When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot has fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

 
TimWeAuthor Commented:
Hello Again,

Do I just add these lines from the CLI?
0
 
lrmooreCommented:
Follow ups are always welcome.
yes, from the CLI..
0
 
TimWeAuthor Commented:
:¬) I thought I had it and to honest it seems fairly simple...here comes the But.

Using your analagy what do I assign A.B.C.D to? Is it to a physical NIC? Hmm Confused...

I have assigned 192.168.122.22 -on my FTP Server NIC  set default gateway to be 192.168.122.1 -(DMZ  NIC)

I have assigned 192.168.122.1 to my Spare Cisco NIC (renamed to DMZ)

I have assigned 192.168.111.1 to my Internal (Safe) Cisco NIC

Now I already have W.X.Y.Z as an external (Unsafe) interface on my Cisco this attaches to my ISP's Router.

I have no other NICs in my Cisco, Just the External, internal & Renamed DMZ.

Do you want some more points :¬)

Can't help thinking the penny is yet to drop...
0
 
lrmooreCommented:
A.B.C.D would be a public IP address. Is the Interface (W.X.Y.Z) the only public IP that you have?
0
 
TimWeAuthor Commented:
No i have a few issued by my isp (6)...

0
 
lrmooreCommented:
OK, then use one of those 6 addresses
0
 
TimWeAuthor Commented:
Got you there, I understood that part, but do I have to assign the public IP address (A.B.C.D) to a Nic?
Sorry if I'm being a bit dull here..but i cant see what the new A.B.C.D address is bound to.
0
 
lrmooreCommented:
Once you assign it a static nat, that is all you have to do.

static (dmz,outside) <public ip> <private ip> netmask 255.255.255.255

i.e.
static (dmz,outside) A.B.C.D 192.168.122.22 netmask 255.255.255.255

Now, the outside interface will forward all traffic destined for A.B.C.D to the dmz host 192.168.122.22
The server only has 192.168.122.22 bound to its interface.
0
 
TimWeAuthor Commented:
Dood, you are splendid...

Can I give you some more points for being patient?

I bought the book from Amazon, only arrived today but so far it looks good.

Many Thanks Indeed
0
 
lrmooreCommented:
Glad to be of service.
No need for more points, just close this one out and keep us in mind for your next dilema..

- Cheers!
0
 
TimWeAuthor Commented:
Hello Again Are you still around, as I have another question..
I cant seem to get this to work. Below I have pasted your sound advice, In brackets I have added my own IP address.
Does the DMZ interface have to be on a differnt subnet to the inside interface?

Assume your INside interface is 192.168.111.1 (10.10.10.253 my IP)
Assume your DMZ interface is 192.168.122.1 (10.10.10.14 this I have just named and can be changed again)
Assume your FTP server is 192.168.122.22 (10.10.10.8 the ip for my FTP server NIC)- set default gateway to be 192.168.122.1 (10.10.10.14)
A.B.C.D = public IP address dedicated to FTP server.. (Got that OKay)
# create static NAT map from public IP to private IP
static (dmz,outside) A.B.C.D 192.168.122.22 (10.10.10.8) netmask 255.255.255.255
# create inbound access-list entries (assuming that you already have an inbound acl for other purposes, add this line:
access-list inbound_acl permit tcp any host A.B.C.D eq ftp

# to manage the server on the DMZ from the Inside, I suggest enabling Terminal Services on the server and only using that to manage it. No port entires or acls required, but you do want to NOT NAT between the inside and DMZ host:

access-list NO_NAT permit tcp 192.168.111.0 (10.10.10.0 this is the text im using) 255.255.255.0 192.168.122.22 (again 10.10.10.8 FTP server Nic) eq 3389

Now, from an inside PC, use Remote Desktop Connect to the Win2k3 server, using it's 'private' ip address 192.168.122.22 (10.10.10.8)


Do you understand that? or have i screwed it up?

Just to clarify the IP's in the brackets are the IP address im actually using.

Many Thank Again

Tim
0
 
Pete LongConsultantCommented:
subscribed

PL
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 7
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now