This document describes the procedure to implement anti-spoofing using the access list.
There is a need to block network attacks using the IP spoofing method.
User have a scenario where he have multiple print servers on his outside interface that need to print/communicate to printers on his inside interface. He has already setup a 1 to 1 nat for the printers but need to figure out the ACl for it. His thought is to group all his outside print servers together in one object-group and group all his inside printer networks in another object-group and then put all the ports in an another object-group then write the acl as follows
but all he get is a return option <CR> after providing the first object-group parameter . The code running on the ASA is 8.6. Is this possible? Do he need to upgrade to the latest 9.x code?
IP spoofing is a method of attack by sending packets to a target network while hiding the attacker's address using a false source address.Thus, to achieve anti-spoofing using the access list, you need to create deny statements for each communication based on whether a valid sender address is specified.
Router(config)# ip access-list extended anti-spoof
First, drop the communications from private addresses defined in RFC1918.These addresses cannot be routed on the Internet, so it cannot come from outside as valid communications.
Router(config-ext-nacl)# deny ip 10.0.0.0 0.255.255.255 any Router(config-ext-nacl)# deny ip 172.16.0.0 0.15.255.255 any Router(config-ext-nacl)# deny ip 192.168.0.0 0.0.255.255 any
Drop communications from multicast addresses.A multicast address cannot be used as a source address, so such communications are not valid.
Router(config-ext-nacl)# deny ip 18.104.22.168 22.214.171.124 any
127.0.0.0/8 is a loopback address defined in RFC3330 and reserved for communications from each terminal to themselves.It cannot be transmitted from outside a terminal.
Router(config-ext-nacl)# deny ip 127.0.0.0 0.255.255.255 any
This is a loopback address reserved by Microsoft Windows.Like 127.0.0.0/8, it is only in communications within the PC.
Router(config-ext-nacl)# deny ip 169.254.0.0 0.0.255.255 any
Your company subnet exists within the router, so communication from an outside sender with your company address would be impossible.
Router(config-ext-nacl)# deny ip <your company subnet> <wildcard mask of your company subnet> any
So far only deny statements have been defined, which means all communications are dropped by the implicit "deny" of the access list.Therefore, you need to add statements to permit communications that can enter the your company network.If it is clear which Internet communications you want to permit, the following setting is recommended.
Router(config-ext-nacl)# permit ip any <your company subnet for which you want to permit access from the Internet> <corresponding wildcard mask>
Router(config-ext-nacl)# deny ip any any<.span>
If there is no need for any further restrictions on communications from the Internet, the following setting may be used.
Router(config-ext-nacl)# permit ip any any
Finally, apply the created access list to the interface for Internet.
Router(config)# interface gigabitEthernet0/0
Router(config-if)# ip access-group anti-spoof in
User need to create the "object-group service" before he try this command. (That is right, even before you press "Enter", when you use "?" to see the command syntax if the name of the service group you used in the line doesn't exist ASA won't show the rest of the command.)
Original Document: Cisco Support Community Japan DOC-12237
Hello everyone, I understand that FlowSensor can provide "additional security context" by enabling the "Export HTTP(S) Header Data", "Export Packet Payload" and "Enable VXLAN Decapsulation". 1) Does that mean all the Stealthwatch Default Applica...
Hello for everybody. What is difference between server list and backup servers in anyconnect profile editor for windows. For example, in server list i can add ip address or A record of my anyconnect server. If i understand correc...
Okay so I have an old SG 200P. It was installed years ago and there are is no knowledge of credentials and no known config file. Here is what I have:1. SG 200P that will power on and LED lights on ports when things are plugged in B...
the Cisco CPN Client for a long time to connect to a VPN Server. Now I've got a new machine with a Windows 7 64 bit. The Cisco VPN Client isn't avaiable in a 64 bit version. Cisco suggests to use Cisco AnyConnect instead because there'a 64 bit version ava...
Hello, need some inputs on how to solve this issue. We currently have ise 2.6 implementing wireless 802.1x using windows supplicant. Currently performing peap using certificates. Auto enrolled certs to be issued to user and computer via gpo and on supplic...