10-29-2015 11:58 PM - edited 03-11-2019 11:48 PM
Hello,
I'm trying to forward a huge number of ports (8500-8600). I tried using the
Thanks in advance!
-Ed
Solved! Go to Solution.
10-30-2015 01:09 AM
Hi there,
I don't think you can put a range of ports in a nat statement like that. Instead define an object group of tcp ports. (I have ommited some of the service definitions so you'll need to fill them in):
!
object-group servier SVR_services
service tcp source eq 8500
service tcp source eq 8501
...
service tcp source eq 8599
service tcp source eq 8600
!
object network Outside_to_Inside_OnSSI_MediaSVR_Stream
nat(inside,outside) static interface service SVR_services SVR_services
!
Don't forget to ammend your ACL_in for the outside interface for each of these ports.
cheers,
Seb.
10-30-2015 01:45 AM
Actually you can not use object group for NAT. you need to create a regular service object for this.
for example.
object service PORTS
service tcp source range 8500 8600
object network SERVER
host 10.10.10.10
nat (inside,outside) source static SERVER interface service PORTS PORTS
If you require several different port ranges or ports, each of these would need a seperate NAT statement.
--
Please remember to select a correct answer and rate helpful posts
10-30-2015 01:09 AM
Hi there,
I don't think you can put a range of ports in a nat statement like that. Instead define an object group of tcp ports. (I have ommited some of the service definitions so you'll need to fill them in):
!
object-group servier SVR_services
service tcp source eq 8500
service tcp source eq 8501
...
service tcp source eq 8599
service tcp source eq 8600
!
object network Outside_to_Inside_OnSSI_MediaSVR_Stream
nat(inside,outside) static interface service SVR_services SVR_services
!
Don't forget to ammend your ACL_in for the outside interface for each of these ports.
cheers,
Seb.
10-30-2015 01:45 AM
Actually you can not use object group for NAT. you need to create a regular service object for this.
for example.
object service PORTS
service tcp source range 8500 8600
object network SERVER
host 10.10.10.10
nat (inside,outside) source static SERVER interface service PORTS PORTS
If you require several different port ranges or ports, each of these would need a seperate NAT statement.
--
Please remember to select a correct answer and rate helpful posts
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide