cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
382
Views
0
Helpful
2
Replies

ACL to Access Similar Ports from Different Networks

indraadi82
Level 1
Level 1

Hi,

I need to allow few public IPs (example: 116.x.x.x, 116.x.x.y) to access my VM on 117.x.x.x with all ports accessible, BUT, at the same time, allow other IPs than those mentioned before to access my VM ONLY to its port 80 and 443 (other ports are not accessible).

 

Is this possible? 

 

Thanks! 

2 Replies 2

Dennis Mink
VIP Alumni
VIP Alumni

Yes this is possible.

 

define your public IP's to all ports on your VM first

then define the specifc public IPs on port 80 and 443

 

Please remember to rate useful posts, by clicking on the stars below.

Florin Barhala
Level 6
Level 6
First of all are you using NAT?
So take care of NAT and map the required ports to a public IP.
Then an access-list on outside direction in should allow
src: 116.x.x.x, 116.x.x.y dst: VM_NAT_public_IP service: any
src: any dst: VM_NAT_public_IP service: http&https
Review Cisco Networking for a $25 gift card