Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Say i have an access-list called access_out. I only want 80 outbound

Status
Not open for further replies.

ForumKid

MIS
Dec 21, 2001
122
US
what would be the syntax to only allow outbound port 80 traffic.
access-list access_out permit ip any host x.x.x.x eq www
...I think thats the syntax i have.....
This only allows inbound port 80 traffic. Now how do I add to this access list that only port 80 is allowed outbound. All other outbound requests should be denyed.

Thanks
 
Try changing your access-list to:
access-list access_out permit tcp any any eq www

To apply to an interface:
access-group access_out in interface inside
 
IP is a layer 3 (network) protocol and doesn't support the concept of ports.
You need to specify a layer 4 (transport) protocol (e.g. TCP, UDP) if you wish to specify ports.
 
You might want to consider allowing 443 out as well(tcp secure sockets). That way, when someone tries to check their bank account, you will not get a call.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top