Opening Ports on Cisco 806 Router

Sep 19, 2005 1 Replies

I think I need to change the access list of ou cisco 806 router, so that I can connect to a remote sql server on port 1433.



I believe that this command will do it, but I wanted to check before making changes: Router#access-list 101 permit tcp host 198.x.x.200 1433



Thanks,



You only mention one IP address. You have to add either the source or destination IP address.

Assuming that 198.x.x.200 is the destination address, the command should look something like this:

access-list 101 permit tcp 10.20.30.0 0.0.0.255 gt 1023 host

198.x.x.200 eq 1433

10.20.30.0 255.255.255.0 is the source network. The gt 1023 is optional (this tells which source ports are allowed, in this case all ports above 1023), but I personally always add this to rules in my access-lists.

Don't forget to add an access-group to the correct interface.

Good luck.

Patrick

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required