cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
331
Views
0
Helpful
1
Replies

Question about Static nat and ACL's

jmartinez
Level 1
Level 1

Hello to all,

I want to map port 3389 from my WAN interface to a LAN host, but i only want that a unique IP can connect with this device; this is the configuration that i was made:

imagine that 2.2.2.2 is the public IP of the machine that i want to acces to my LAN.

the LAN IP address is 1.1.1.1 and the public IP of my LAN is  10.10.10.10. ok first i have to configure the static NAT:

ip nat inside source static tcp 1.1.1.1 3389 10.10.10.10 3389 extendable

and then i have created and ACL and apply it to my WAN interface, in this case dialer 0;

access-list 101 permit tcp host 2,2,2,2 eq 3389 any eq 3389

access-list 101 deny   tcp any eq 3389 any eq 3389

access-list 101 permit ip any any

once the access-list is generated i have applied it in, dialer 0 interface IN:
ip access-group 101 in
but i still can connect to my LAN from any IP what's wrong?

thanks in advance

regards

1 Reply 1

Jennifer Halim
Cisco Employee
Cisco Employee