cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2168
Views
0
Helpful
8
Replies

Allowing RDP into DMZ

jgorman1977
Level 1
Level 1

When I add a rule for an internal user to rdp into a server in our dmz, the implicit deny does not allow the rule. Below are the rules I currently have for traffic entering the DMZ.

access-list DMZ extended permit tcp host 172.16.110.4 any eq www

access-list DMZ extended permit tcp host 172.16.110.4 any eq https

access-list DMZ extended permit tcp host 172.16.110.4 any eq ftp

access-list DMZ extended permit tcp host 172.16.110.10 host 10.0.22.229

access-list DMZ extended permit tcp host 172.16.110.10 host 10.0.22.11 eq www

access-list DMZ extended permit tcp host ws-vwright-01 host 172.16.110.10 eq 3389

8 Replies 8

srue
Level 7
Level 7

so that acl is applied to the dmz interface? egress or ingress?

what pix/asa OS?

is nat-control enabled?

do you have an inside/dmz nat rule for ws-vwright-01?

It's an ASA5510. This is applied on the ingress side. Nat-control is enabled, but do not have a nat rule for the workstation. Not sure how to implement that.

Thanks

see if this works:

static (inside,dmz) ws-vwright-01 ws-vwright-01

That was it. Thank you. Does this command just NAT his workstation to a DMZ ip address?

it nats it to itself. you could have just as easily nat'ed it to a dmz IP.

static (inside,dmz) dmz_ip ws-vwright-01

elparis
Cisco Employee
Cisco Employee

Dynamic NAT (or PAT) is also a possibility. For example:

nat (inside) 1 0 0

global(dmz) 1 interface

This will allow any machine on the inside (not just one) to access anything on the DMZ.

his original acl still only allows one host rdp access: ws-vwright-01

elparis
Cisco Employee
Cisco Employee

It doesn't matter - the ACE the original poster included is:

access-list DMZ extended permit tcp host ws-vwright-01 host 172.16.110.10 eq 3389

This ACE is not doing anything and can actually be removed - there is no 172.16.110.10 outside of the DMZ network, and since the original poster mentioned this is an ingress ACL ("access-group DMZ in interface DMZ"), this ACE will never be hit.

If the original poster wants to only allow the machine ws-vwright-01 to contact 172.16.110.10 on TCP port 3398 in the DMZ then an egress ACL on the DMZ interface or an ingress ACL on the inside interface that only allows this flow needs to be applied.

As it is right now the original poster can add the dynamic NAT statements that I mentioned and any machine on the inside will be able to RDP into 172.16.110.10, and this without changes to any ACL since traffic from high security interfaces going to lower security interfaces is allowed by default.

Review Cisco Networking products for a $25 gift card