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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Allow Traffic In/Out on specific ports from CLI

Status
Not open for further replies.

T3st1ng

MIS
Apr 11, 2005
34
US

How can I allow traffic to flow in and out to a specific port, such as TCP/5566, on my PIX 515E from the CLI?
 
access-list outside_access_in permit tcp any any eq 5566
access-list inside_access_out permit tcp any any eq 5566

access-group outside_access_in in interface outside
access-group inside_access_out in interface inside

You may already have your own access groups already applied. If so just change the names in the examples above to what you have currently (use the 'show access-group' command in CLI to see what they are called).
 
And it you don't have one, especially inside_access_out, be sure to add all traffic that you want to go out. There's an implied "deny ip any any" at the end of every access-list.
 
If this traffic is initiated from inside my firewall, I shouldn't have to specifically allow it to come back in, correct??
 
No you don't. The PIX will allow any TCP reply traffic back in through the firewall.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top