[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 296
  • Last Modified:

cisco 877 config

Hi,

Thank you for taking a look at my question.  

Just a quick one.  I need to allow through the router a UDP port range of 4000-4100

I know how to do it for single ports, is it even possible to do a port range?

0
mavmanau
Asked:
mavmanau
  • 2
1 Solution
 
Don JohnstonInstructorCommented:
Yes.

Something along the lines of:

access-list 101 permit tcp 192.168.1.0 0.0.0.255 1.2.3.0 0.0.0.255 range 4000 4100
0
 
Craig BeckCommented:
It depends if you want to do this routed or via NAT.

If routed, Don is correct for both inbound and outbound traffic, but if you want to do this inbound via PAT it will not work.
0
 
mavmanauAuthor Commented:
I think I am doing nat for a lot of the other port forwarding.

say for example the external IP of the router is 203.x.x.x and the internal IP I want those ports to hit is 192.168.x.x.x and the port range is 4000 - 4100

would it be like this?

access-list 101 permit tcp 192.168.x.x 0.0.0.255 203.x.x.x 0.0.0.255 range 4000 4100

0
 
mavmanauAuthor Commented:
Thank you for your help!! very much appreciated.
0

Featured Post

Identify and Prevent Potential Cyber-threats

Become the white hat who helps safeguard our interconnected world. Transform your career future by earning your MS in Cybersecurity. WGU’s MSCSIA degree program was designed in collaboration with national intelligence organizations and IT industry leaders.

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