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

access list on PIX

Status
Not open for further replies.

banalas

IS-IT--Management
May 23, 2001
22
US
I was trying to allow network 20.20.10.0 to connect to my inside network

access-list outside_access_in permit ip 20.20.10.0 mask 255.255.255.0 any

is this correct syntax, please help

Thanks
 
Take out the word 'mask.

access-list outside_access_in permit ip 20.20.10 255.255.255.0 any

You will also require static translations to map IP addresses (or the external interface) to internal servers.

I would be very cautious about letting an entire /24 network to access any services on my network. You really should tie that down to just those that are required.

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
I agree with ChrisAC, to drop the word mask.

Also, you can allow certain protocols to further tie up security, if you want to do this, we can certainly assist in showing you the proper syntax for such:

access-list <name> <action> <protocol> <source> <destination> eq <port>


Name: ACL Name.
Action: Permit or Deny
Protocol: TCP, UDP, ICMP, etc..
Source: Where the packets originate from
Destination: One of your local networks or hosts
Port: Port of traffic to allow (eg smtp is 25, 80)

Computer/Network Technician
CCNA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top