unfortunately aurura the answer isnt so simple. It depends upon which direction you want traffic to be allowed, the interface which the traffic flows, source and destination.
NAT (Network address translation) and security levels (with the PIX) also play a big part. With security levels you could have 2 interfaces
e1 (inside) - perhaps your company network
e0 (outside) - connected to an ADSL router
by default e0 would be security 0 and e1 - security 100. As long as a route is present traffic from e1 to e0 would be allowed through the PIX (stateful filtering allows the PIX to remember what went out and when a packet is sent back depending on what your allowing through the packet is either dropped or sent through), in a nutshell traffic coming in the other direction would just be dropped - this because of security levels.
Access-lists are the best way to open specific ports using the above. For example to allow hosts to connect on port 80 from e0 to a web server on the e1 interface would require a static command:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.