08-09-2020 01:06 AM
As rules below:
10 access-list 102 permit tcp any host 192.168.1.100 eq ftp 20 access-list 102 permit tcp any host 192.168.1.100 gt 1023
What is History, benefit, using gt and lt (line 20)?
Is there meaning in ports sequence number?
Regards.
Solved! Go to Solution.
08-09-2020 01:24 AM
Hi,
"gt" = greater than, which in your example this is permitting all dynamic ports above 1023, so from tcp port 1023 - 65535. Normally you'd specify "eq" which specifies the exact port, but in some circumstances you may wish to permit the dynamic ports for some applications, such as MS RPC.
Sequence number is important, the ACL is processed top down, so first match takes precedence. If a packet matches seq #10, then it will be permitted and not process the rest of the ACL. It also helps with re-ordering the ACE.
HTH
08-09-2020 01:24 AM
Hi,
"gt" = greater than, which in your example this is permitting all dynamic ports above 1023, so from tcp port 1023 - 65535. Normally you'd specify "eq" which specifies the exact port, but in some circumstances you may wish to permit the dynamic ports for some applications, such as MS RPC.
Sequence number is important, the ACL is processed top down, so first match takes precedence. If a packet matches seq #10, then it will be permitted and not process the rest of the ACL. It also helps with re-ordering the ACE.
HTH
01-16-2024 03:08 AM
just to keep it exact:
"gt" = greater than, which in your example this is permitting all dynamic ports above 1023, so from tcp port 1024 - 65535.
...gt is not "equal or greater than", just "greater than"
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