|
Question : Open the port RANGE in cisco IOS Router
|
|
Hello !!
I have a question opening the port range in the Cisco IOS Router. Below is the config example when we are opening only specified port number:
First NAT:
ip nat inside source static tcp 10.14.25.15 21 213.186.145.13 21 extendable
Than ACL:
ip access-list extended ACL_TEST permit udp any any eq 21
Now I need an example with NAT and ACL when opening port range for example:
2000-3000 This is for FTP data traffic.
Thank You Steve
|
Answer : Open the port RANGE in cisco IOS Router
|
|
I assume you meant the following (your nat statement used TCP you ACL used UDP):
ip access-list extended ACL_TEST permit tcp any any eq 21
Your requested example (range of ports 100-200): ip access-list extended ACL_TEST permit tcp any any range 100 200
harbor235 ;}
|
|
|