1 00:00:29,760 --> 00:00:29,880 Transcribed by ESO, translated by — 2 00:00:30,000 --> 00:00:36,700 Transcribed by — 3 00:01:01,320 --> 00:01:09,840 Transcribed by — 4 00:01:48,380 --> 00:01:59,980 Transcribed by — 5 00:02:03,400 --> 00:02:25,080 Transcribed by — 6 00:02:52,000 --> 00:02:55,660 Transcribed by — 7 00:03:28,580 --> 00:03:29,980 Transcribed by — 8 00:03:57,700 --> 00:03:59,980 Transcribed by — 9 00:04:06,000 --> 00:04:06,560 Transcribed by — 10 00:04:36,460 --> 00:04:57,100 Transcribed by — 11 00:05:29,900 --> 00:05:29,980 Transcribed by — 12 00:05:56,820 --> 00:05:59,680 Transcribed by — 13 00:06:04,120 --> 00:06:05,520 Transcribed by — 14 00:06:42,560 --> 00:06:59,400 Transcribed by — 15 00:07:10,220 --> 00:07:27,080 Transcribed by — 16 00:07:41,100 --> 00:07:59,940 Transcribed by — 17 00:08:00,000 --> 00:08:00,760 Transcribed by — 18 00:08:43,560 --> 00:08:52,840 Transcribed by — 19 00:09:11,360 --> 00:09:23,660 Transcribed by — 20 00:09:37,480 --> 00:09:59,860 Transcribed by — 21 00:10:05,880 --> 00:10:29,980 Transcribed by — 22 00:10:32,420 --> 00:10:38,000 Transcribed by — 23 00:10:38,000 --> 00:10:39,880 Transcribed by — 24 00:10:39,880 --> 00:10:45,060 Transcribed by — 25 00:10:52,100 --> 00:10:53,600 Transcribed by — 26 00:10:54,780 --> 00:10:56,960 Transcribed by — 27 00:10:56,960 --> 00:10:58,600 Transcribed by — 28 00:10:58,600 --> 00:10:59,420 Transcribed by — 29 00:10:59,420 --> 00:10:59,980 Transcribed by — 30 00:11:00,000 --> 00:11:05,820 collection boxes. And then I would issue the command SNMP community. I'd community put in 31 00:11:05,820 --> 00:11:13,640 the password. In this case, we're putting in the read-only password. And then the 13 32 00:11:13,640 --> 00:11:20,560 references back to the access list 13. A couple other things to know about SNMP. Be sure and 33 00:11:20,560 --> 00:11:26,180 don't use public, private, or secret. If so, just post it on the internet and let people 34 00:11:26,180 --> 00:11:32,020 have fun with it. And be sure to use different strings for the read-only and write-only 35 00:11:32,020 --> 00:11:36,040 communities. Remember, they can be cracked, especially if they're easy. So you need to use 36 00:11:36,040 --> 00:11:42,000 strong passwords. And be sure and use a mixed alphanumeric strings. I typically like to use 37 00:11:42,000 --> 00:11:48,940 about a 10-character password with numbers and capitals mixed in there. Make authentication 38 00:11:48,940 --> 00:11:55,620 secure. There's two ways. You can type in the enable password. You can do enable password and 39 00:11:55,620 --> 00:11:56,160 then the password. And then you can type in the enable password. And then the password 40 00:11:56,180 --> 00:12:01,480 or you can do enable secret and then the password. I don't recommend using the enable 41 00:12:01,480 --> 00:12:07,280 password. It's a very weak algorithm that encrypts the password. If you use enable secret, 42 00:12:07,380 --> 00:12:13,740 you're using an MD5 one-way hash. And then the other thing I'd like to do here is I like 43 00:12:13,740 --> 00:12:17,980 to use privilege levels. This is good for auxiliary, especially if you're going to connect 44 00:12:17,980 --> 00:12:23,340 a modem for out-of-band management. And here I've given it privilege level 5. And that 45 00:12:23,340 --> 00:12:26,160 means unless you know the enable password, the only thing you can do is you're going 46 00:12:26,160 --> 00:12:31,180 to do is read only in the router commands. You can go into enable, but you can't save 47 00:12:31,180 --> 00:12:36,640 and you can't make changes. As an administrator, though, you can put in a password later and 48 00:12:36,640 --> 00:12:44,000 you can pass into true enable mode. Along with this, make sure that physical access 49 00:12:44,000 --> 00:12:48,880 is highly restricted. Really, this should be one or two people should have key access. 50 00:12:49,320 --> 00:12:53,020 Given 10 minutes and physical access to your router, I can compromise it and you would 51 00:12:53,020 --> 00:12:54,000 never know the difference. 52 00:12:56,160 --> 00:12:58,620 And Cisco will kindly give you the information on how to do that. 53 00:13:01,500 --> 00:13:02,020 Yeah. 54 00:13:10,360 --> 00:13:19,220 Not necessarily. You would reboot control break into the ROM mode. You can blank the 55 00:13:19,220 --> 00:13:24,080 password at that point. You reload and you come back with the configuration. And then 56 00:13:24,080 --> 00:13:25,680 you just put in whatever password you'd like. 57 00:13:26,520 --> 00:13:33,040 It's really just as simple as that. It varies per model on how exactly you do it. And switches 58 00:13:33,040 --> 00:13:37,520 are a little different than routers. But for all of them, it's pretty straightforward. 59 00:13:38,200 --> 00:13:43,100 On Cisco's site, you just type in your model number and then recover password and it'll 60 00:13:43,540 --> 00:13:45,400 bring up the information here. 61 00:13:46,140 --> 00:13:51,340 There's two ways really to do authentication. You can do RADIUS and TACACS. In our environment, 62 00:13:51,640 --> 00:13:55,140 we use RADIUS. So I've done the RADIUS example here. 63 00:13:56,160 --> 00:13:59,920 The AAA new model is just how you tell the router, I'm now going to make all authentication 64 00:13:59,920 --> 00:14:06,560 secure. In this case, I do AAA authentication, log on RADIUS local, which means that anyone 65 00:14:06,560 --> 00:14:10,720 connecting in will first either be authenticated to the RADIUS server. And if they don't have 66 00:14:10,720 --> 00:14:13,300 an account on the RADIUS server, then it goes to local authentication. 67 00:14:14,240 --> 00:14:18,920 And then in this case, I now do username. And then I would type in my name here, which 68 00:14:18,920 --> 00:14:25,780 would be Robert. And then whatever password, password. To here, you can also do privilege levels. 69 00:14:26,460 --> 00:14:30,680 So if, for instance, you wanted to give a developer read only access so that he could 70 00:14:30,680 --> 00:14:35,260 ton it into your router and then maybe ton that into the network itself, you could give 71 00:14:35,260 --> 00:14:40,340 him only read only, but you could give your users a higher level of privilege. 72 00:14:40,640 --> 00:14:44,980 Also in the logs, it now tells you who logged into your router and what changes they made. 73 00:14:45,460 --> 00:14:46,320 That's kind of helpful 74 00:14:47,000 --> 00:14:51,400 And then later in the command, you have to type in the RADIUS server host, which is 75 00:14:51,400 --> 00:14:52,540 basically just an IP. 76 00:14:52,920 --> 00:14:55,580 And then here I've used a shared key. 77 00:14:55,740 --> 00:14:56,140 The Ping Positions or I pause theний if I get a notification or various ró gla Y Наber Steve, store, 78 00:14:56,160 --> 00:15:00,640 The shared key, by the way, is not encrypted inside the configs. 79 00:15:03,140 --> 00:15:06,040 Other things to know about authentication, no matter what you do, 80 00:15:06,160 --> 00:15:08,140 if you're just typing in your password, it's in clear text. 81 00:15:08,520 --> 00:15:13,380 So if someone is sitting there and watching, they can get your passwords fairly easily. 82 00:15:13,840 --> 00:15:18,080 I would consider a one-time password method or considering using SSH. 83 00:15:18,480 --> 00:15:20,940 The new iOS supports SSH. 84 00:15:21,500 --> 00:15:25,280 I'm not really going to go into how to do that because that's a fairly complex topic. 85 00:15:26,600 --> 00:15:27,620 But it's important. 86 00:15:28,740 --> 00:15:29,340 Do what? 87 00:15:31,460 --> 00:15:32,780 I still can't hear you. 88 00:15:36,000 --> 00:15:37,100 Oh, it's 1. 89 00:15:39,200 --> 00:15:40,960 Yeah, it's 1.x. 90 00:15:44,440 --> 00:15:46,900 And then along with that, we want to audit our login attempts. 91 00:15:47,160 --> 00:15:51,280 So we type in IP accounting and then IP account access violations. 92 00:15:52,260 --> 00:15:54,220 And then this simply goes into the logs. 93 00:15:54,500 --> 00:15:56,140 And then in this case, I put in... 94 00:15:56,160 --> 00:16:00,080 I put in logging and then I would type in the IP for my syslog server if I hadn't done it previously. 95 00:16:00,480 --> 00:16:06,880 You can also do SNMP traps if you're using, you know, some type of SNMP program like OpenView 96 00:16:06,880 --> 00:16:10,840 or there's some freeware ones that we use that we like. 97 00:16:12,440 --> 00:16:16,040 Okay, now we're ready to plug in a network cable and hook up to the Internet. 98 00:16:16,420 --> 00:16:22,020 We're going to look at preventing spoofing, some DOS protection, NAT, is it good, is it bad. 99 00:16:22,140 --> 00:16:25,880 We're going to look at the new firewall feature set available from 12x on. 100 00:16:26,160 --> 00:16:26,920 It's just pretty nifty. 101 00:16:27,180 --> 00:16:33,440 And you now also have IDS that you can do either local in the router or have it sent to an IDS product, 102 00:16:33,760 --> 00:16:35,480 which, of course, Cisco will be happy to sell you. 103 00:16:37,020 --> 00:16:37,900 Preventing spoofing. 104 00:16:37,940 --> 00:16:39,760 This is a fairly simple access list here. 105 00:16:39,780 --> 00:16:42,380 We have access list 109, deny IP, which is my internal. 106 00:16:43,160 --> 00:16:46,180 And then two internals here, 172 and 10. 107 00:16:46,360 --> 00:16:53,720 And then access list 101, permit IP any, any, which says any traffic is allowed in except internal traffic behind the router. 108 00:16:54,140 --> 00:16:56,140 And then here I've applied it to the server. 109 00:16:56,160 --> 00:16:58,940 Serial interfaces, IP access group instead of list. 110 00:16:59,080 --> 00:16:59,780 I don't know why. 111 00:16:59,960 --> 00:17:00,900 Cisco makes you do it that way. 112 00:17:01,740 --> 00:17:03,720 101 referencing back to the access list. 113 00:17:03,840 --> 00:17:05,620 And then in means for inbound traffic. 114 00:17:05,980 --> 00:17:07,980 All access lists can go in or out. 115 00:17:09,180 --> 00:17:13,440 So here we have a little detailed diagram of what's going on here. 116 00:17:13,460 --> 00:17:18,940 Here we have the Internet passing into a border router, passing into an internal router, and then passing into our network here. 117 00:17:19,840 --> 00:17:24,860 On the serial S01 interface, which is connecting between the two routers, 118 00:17:26,180 --> 00:17:32,040 we're permitting traffic from the 142 network, and we're denying everything else. 119 00:17:32,300 --> 00:17:36,860 And then this is all inbound to the S01, which is really outbound to the Internet. 120 00:17:37,080 --> 00:17:38,100 That kind of makes sense. 121 00:17:38,660 --> 00:17:43,480 And then on the interface serial 0 on the other router, here we have two different groups, 122 00:17:43,580 --> 00:17:48,780 and this is basically just reversing what's allowed in versus what's allowed out. 123 00:17:49,760 --> 00:17:52,160 And this is pretty standard here for most networks. 124 00:17:54,060 --> 00:17:54,800 Spoofing continued. 125 00:17:56,160 --> 00:17:56,840 IPSEF distributed. 126 00:17:57,140 --> 00:18:02,820 And then interface serial, and then a number, and then you can do IP verify unicast reverse path. 127 00:18:03,260 --> 00:18:08,980 This mitigates source address spoofing by checking that a packet's return path uses the same interface it arrived on. 128 00:18:09,200 --> 00:18:16,160 Not appropriate for ISPs, but very helpful for us as just business people hooking up to the Internet. 129 00:18:20,540 --> 00:18:23,680 DOS protection or prevention. 130 00:18:24,360 --> 00:18:26,140 These particular access lists are good. 131 00:18:26,160 --> 00:18:31,800 It's good to put on your router, and then if you come under attack, to go ahead and type the commands into your interface. 132 00:18:32,280 --> 00:18:34,000 Access lists can take performance hits. 133 00:18:34,280 --> 00:18:39,240 The more access lists that have to be processed by the packet, the slower your packets are inbound. 134 00:18:39,860 --> 00:18:45,160 So this slide and the next slide, I like to have both of these access lists on my router, but not active. 135 00:18:45,640 --> 00:18:51,380 And here we're basically just saying that all outbound ping responses are limited to 256 kilobytes. 136 00:18:52,600 --> 00:18:56,120 And then in the next one, we're going to limit inbound TCP SYN packets. 137 00:18:56,160 --> 00:18:57,080 So we're going to limit the packets to 8 kilobytes. 138 00:18:59,880 --> 00:19:00,320 Nat. 139 00:19:01,700 --> 00:19:02,140 Yeah. 140 00:19:02,800 --> 00:19:08,180 How does the control of TCP packets compute or actively change in TCP packets? 141 00:19:09,320 --> 00:19:10,780 You mean in the last slide? 142 00:19:11,160 --> 00:19:11,280 Yeah. 143 00:19:11,360 --> 00:19:16,640 In the last slide, it just looks at, it just, it allows only a certain amount of those TCP IP packets through. 144 00:19:16,920 --> 00:19:17,420 For queues. 145 00:19:17,560 --> 00:19:17,860 Yeah. 146 00:19:17,880 --> 00:19:23,640 So it looks at them, and if it reaches its limit in the queue, it starts dropping them, and it just puts them into the bit bucket and ignores them. 147 00:19:26,160 --> 00:19:32,200 So you don't necessarily stop the attack, but you're mitigating the attack on your router, and you allow business to continue. 148 00:19:33,540 --> 00:19:33,980 Nat. 149 00:19:34,520 --> 00:19:35,280 That's real good. 150 00:19:35,440 --> 00:19:37,560 It hides your entire network behind one IP. 151 00:19:37,720 --> 00:19:40,420 It allows you for control and monitoring of Internet usage. 152 00:19:41,360 --> 00:19:41,800 Bad. 153 00:19:41,960 --> 00:19:43,540 It may not work for all servers. 154 00:19:43,800 --> 00:19:47,300 In this one particular instance, as we all go to Windows 2000. 155 00:19:48,460 --> 00:19:49,880 As a, there we go. 156 00:19:49,900 --> 00:19:50,060 Whoa. 157 00:19:50,280 --> 00:19:56,140 As we go to Windows 2000, the Windows 2000 DNS servers have to be able to talk to the outside. 158 00:19:56,140 --> 00:20:03,220 So in this case, you may have to open up holes in NAT, and we're going to look at that here in our slides and exactly how you would do that. 159 00:20:03,480 --> 00:20:07,220 Also, email has to have a way to come through, and email does not work through NAT. 160 00:20:08,960 --> 00:20:10,920 So here we have basic IP NAT commands. 161 00:20:11,480 --> 00:20:19,080 Here we're setting up the pool, and in this case, I do IP NAT pool, and then I just have a particular name here. 162 00:20:19,140 --> 00:20:21,220 In this case, it's just a random name. 163 00:20:21,580 --> 00:20:23,420 And then outside IP, outside IP. 164 00:20:23,580 --> 00:20:25,900 This can be a range, or it can be one. 165 00:20:26,140 --> 00:20:26,560 Single IP. 166 00:20:27,360 --> 00:20:28,280 Prefix link 30. 167 00:20:28,680 --> 00:20:33,680 And then the next we do IP NAT inside source route map, and then a name. 168 00:20:35,060 --> 00:20:41,980 So these commands, this IP NAT inside source command is going to connect into the next slide here. 169 00:20:43,700 --> 00:20:45,420 So here we're setting up the route map. 170 00:20:45,600 --> 00:20:50,880 So we have route map, a name, permit, and then the 10 is an access list, which is going to appear later. 171 00:20:51,160 --> 00:20:55,880 And then we have match IP addresses to those access lists, which says only these IPs. 172 00:20:56,140 --> 00:20:56,780 Pass through NAT. 173 00:20:57,840 --> 00:21:00,700 Helpful if you have a group that you don't want to go out to the Internet. 174 00:21:01,480 --> 00:21:05,380 And then we have an IP access list, an extended access list. 175 00:21:05,840 --> 00:21:14,380 So over here, these are people who we're going to allow through our NAT, or if we want to allow specific services. 176 00:21:16,460 --> 00:21:18,800 So in this case here, we're going to allow email. 177 00:21:19,160 --> 00:21:25,040 So we have IP NAT inside source static TCP IP, internal IP, the port, which is 25. 178 00:21:25,560 --> 00:21:26,120 Do the IP. 179 00:21:26,120 --> 00:21:26,600 External IP. 180 00:21:27,600 --> 00:21:28,860 And then port. 181 00:21:29,060 --> 00:21:33,640 And then extendable simply means that it can handle multiple types of traffic. 182 00:21:33,840 --> 00:21:36,760 It allows a service from the outside world to talk to your internal server. 183 00:21:37,160 --> 00:21:40,940 I don't particularly like to do this command, and I only like to do it to DMZ servers, 184 00:21:41,540 --> 00:21:45,540 unless someone feels good about opening up the Internet to their exchange server. 185 00:21:47,080 --> 00:21:49,860 The firewall feature set has just now become available. 186 00:21:50,020 --> 00:21:53,360 It's really great if you have branch offices that you're going to connect to the Internet. 187 00:21:53,560 --> 00:21:55,840 You don't want to buy a firewall for them. 188 00:21:56,120 --> 00:21:59,740 Cisco now allows you to buy a higher-priced software feature set. 189 00:21:59,940 --> 00:22:01,380 You get a basic firewall. 190 00:22:01,640 --> 00:22:03,040 It's not a great firewall. 191 00:22:03,940 --> 00:22:05,780 I don't recommend it for your main office. 192 00:22:06,420 --> 00:22:12,340 There is a performance hit, and typically it's good to have lots of memory in your routers as you use it. 193 00:22:13,780 --> 00:22:16,800 This is a typical firewall feature set command. 194 00:22:16,860 --> 00:22:22,340 Basically, we turn on the audit trail, and then we name what particular services we want to watch. 195 00:22:22,520 --> 00:22:25,980 And in this case, I watch TCP, UDP, FTP, TFT. 196 00:22:26,120 --> 00:22:30,500 And I can also use the IP address of the IP address of the IP address of the IP address of the IP address of the IP address of the IP address of the IP address. 197 00:22:31,120 --> 00:22:33,060 The IDS feature set is also new. 198 00:22:33,780 --> 00:22:35,460 It does network-based intrusion. 199 00:22:35,540 --> 00:22:37,580 It's not as good as a host-based intrusion system. 200 00:22:37,820 --> 00:22:39,180 It slows down traffic. 201 00:22:39,640 --> 00:22:42,940 It's even worse, I think, really, than the firewall feature set, 202 00:22:42,960 --> 00:22:44,820 because a firewall feature set only has to look at a packet. 203 00:22:44,940 --> 00:22:46,800 The IDS has to think about a packet. 204 00:22:48,220 --> 00:22:50,580 I typically would only use this on a bigger router. 205 00:22:50,940 --> 00:22:55,220 If you were using 7200s or something like that. 206 00:22:56,840 --> 00:22:58,680 And then in the same action here, 207 00:22:59,800 --> 00:23:02,620 IP audit, info, action, alarm, drop, reset. 208 00:23:02,880 --> 00:23:07,540 Which says, if it happens, you're going to note it. 209 00:23:07,720 --> 00:23:09,380 You're going to take the following actions. 210 00:23:09,660 --> 00:23:10,960 You're going to set off an alarm. 211 00:23:11,140 --> 00:23:12,220 You're going to drop the packet. 212 00:23:12,360 --> 00:23:14,580 And you're going to reset that particular connection. 213 00:23:16,260 --> 00:23:18,440 And then the rest of them are logging. 214 00:23:18,920 --> 00:23:20,900 You can also do anti-spam with this. 215 00:23:21,880 --> 00:23:25,720 And in this case, this particular command, the IP audit, SNMTP, spam, 216 00:23:26,120 --> 00:23:30,340 25 says, if an email is inbound and it goes to more than 25 people, 217 00:23:30,460 --> 00:23:31,900 it's spam, it gets dropped. 218 00:23:32,700 --> 00:23:33,440 Kind of nice. 219 00:23:35,260 --> 00:23:35,880 Do what? 220 00:23:37,740 --> 00:23:39,220 No, you can change it. 221 00:23:40,300 --> 00:23:42,120 You can make it 10, 100. 222 00:23:42,300 --> 00:23:45,340 It depends on what you really consider spam. 223 00:23:46,440 --> 00:23:47,700 25 is the default. 224 00:23:52,720 --> 00:23:53,300 Let's see. 225 00:23:53,660 --> 00:23:54,140 Whoa. 226 00:23:56,540 --> 00:23:58,660 Okay, we're a little off here on the projector. 227 00:23:58,780 --> 00:23:59,580 I don't know what happened on this one. 228 00:24:00,000 --> 00:24:02,660 The IP audit name is how this one begins. 229 00:24:03,100 --> 00:24:05,240 And then it has a name, info list 99. 230 00:24:05,920 --> 00:24:07,580 So now I'm going to use an access list. 231 00:24:07,960 --> 00:24:09,500 In this particular case, I can say, 232 00:24:09,560 --> 00:24:12,040 I don't want you to watch packets from my internal network. 233 00:24:12,620 --> 00:24:15,600 Which is where, you know, no reason to slow these packets down 234 00:24:15,600 --> 00:24:17,920 because I'm hopefully going to trust my internal traffic. 235 00:24:18,420 --> 00:24:21,200 And then I'm going to permit anything else that comes through. 236 00:24:21,240 --> 00:24:23,600 I'm going to say, I want you to look at it and I want you to monitor. 237 00:24:25,360 --> 00:24:26,000 And, of course, 238 00:24:26,120 --> 00:24:28,660 the IDS feature set and the firewall feature set 239 00:24:28,660 --> 00:24:29,740 both have to be turned on 240 00:24:29,740 --> 00:24:31,400 and they're turned on at the interface level. 241 00:24:31,800 --> 00:24:33,160 So in this particular case, 242 00:24:33,860 --> 00:24:35,840 FastEther00 happens to be connected to the internet. 243 00:24:35,920 --> 00:24:38,240 I come on and I do IP audit. 244 00:24:38,300 --> 00:24:40,380 The IDS info is actually the name 245 00:24:40,380 --> 00:24:42,400 of whatever you call your IDS service. 246 00:24:42,520 --> 00:24:44,360 And then for inbound traffic. 247 00:24:44,580 --> 00:24:46,260 You can also do outbound traffic 248 00:24:46,740 --> 00:24:49,100 depending on where you want to put it. 249 00:24:51,340 --> 00:24:53,320 Now let's hook up a branch office. 250 00:24:53,580 --> 00:24:55,120 Not that we would ever have those. 251 00:24:55,320 --> 00:24:56,000 We're going to look at, 252 00:24:56,120 --> 00:24:57,060 to office connection. 253 00:24:57,380 --> 00:24:58,780 I'm going to talk about some other problems 254 00:24:58,780 --> 00:24:59,940 that you may see on slower lines 255 00:24:59,940 --> 00:25:01,500 like ISDN and dial-up. 256 00:25:01,660 --> 00:25:03,860 And then what to do if you have more than 10 sites. 257 00:25:06,100 --> 00:25:07,700 Why would we want to use the internet 258 00:25:07,700 --> 00:25:09,200 to hook up two offices? 259 00:25:09,480 --> 00:25:11,740 Well, it's a lot cheaper than hooking up a frame relay. 260 00:25:12,020 --> 00:25:13,420 It's a lot easier to do. 261 00:25:14,320 --> 00:25:17,000 You can protect the branch office traffic 262 00:25:17,000 --> 00:25:18,760 using what we're going to look at here. 263 00:25:19,300 --> 00:25:21,700 And it's fairly simple once you get it in place. 264 00:25:24,240 --> 00:25:25,800 We're going to use encryption here. 265 00:25:26,120 --> 00:25:27,320 So here we have CryptoMap. 266 00:25:27,440 --> 00:25:29,580 We're going to give it a name, a number. 267 00:25:29,920 --> 00:25:31,260 The name and number are irrelevant. 268 00:25:32,080 --> 00:25:35,040 And then IPsec-ISEMKMP. 269 00:25:35,500 --> 00:25:36,300 Set peer. 270 00:25:36,420 --> 00:25:38,180 We're going to set the branch office IP. 271 00:25:38,540 --> 00:25:41,900 And then we're going to do a set transform set encryption DES. 272 00:25:42,280 --> 00:25:44,000 Now you can also do triple DES. 273 00:25:45,160 --> 00:25:47,380 And then match address 101 274 00:25:47,380 --> 00:25:49,560 is matching to the access list here at the bottom. 275 00:25:49,820 --> 00:25:51,400 So here we have access list 101. 276 00:25:51,660 --> 00:25:52,200 Permit IP. 277 00:25:52,360 --> 00:25:53,020 Local IP. 278 00:25:53,180 --> 00:25:53,840 Remote IP. 279 00:25:54,140 --> 00:25:55,600 And this basically says that 280 00:25:55,600 --> 00:25:58,100 only this IP is allowed to send encrypted traffic 281 00:25:58,100 --> 00:25:59,640 to this router. 282 00:26:01,640 --> 00:26:03,280 And then we're also going to set up the policy. 283 00:26:03,500 --> 00:26:05,560 In this case, I'm using pre-shared keys, 284 00:26:05,780 --> 00:26:07,260 which is authentication pre-shared. 285 00:26:08,120 --> 00:26:09,420 Crypto-ISEM key. 286 00:26:09,600 --> 00:26:10,600 And then I'm going to set the key 287 00:26:10,600 --> 00:26:12,440 as whatever you want to make it. 288 00:26:12,500 --> 00:26:14,660 Once again, the keys are in clear text 289 00:26:15,300 --> 00:26:16,500 in the configs. 290 00:26:17,220 --> 00:26:18,660 And then the address we're going to use, 291 00:26:18,740 --> 00:26:19,360 the remote IP. 292 00:26:20,220 --> 00:26:21,320 And then the pre-shared key 293 00:26:21,320 --> 00:26:23,140 has to be the same on both sides, of course. 294 00:26:25,220 --> 00:26:25,960 Problems you may see. 295 00:26:26,340 --> 00:26:27,700 ISDN and dial-up are more complex. 296 00:26:27,860 --> 00:26:29,440 The lines go up and down, of course, 297 00:26:29,520 --> 00:26:31,140 because that's the reason we bought ISDNs. 298 00:26:31,740 --> 00:26:33,240 We didn't want to have traffic continuously. 299 00:26:34,500 --> 00:26:35,200 Workarounds for that, 300 00:26:35,240 --> 00:26:36,520 you have to develop access lists 301 00:26:36,520 --> 00:26:39,300 that can determine if the traffic is interesting 302 00:26:39,300 --> 00:26:41,300 to turn back on the crypto tunnels. 303 00:26:41,700 --> 00:26:43,020 Otherwise, you're just going to send packets 304 00:26:43,020 --> 00:26:44,080 and the packets are going to drop 305 00:26:44,080 --> 00:26:45,020 because they don't know where they're going. 306 00:26:45,780 --> 00:26:47,480 Also, if you use smaller routers for this, 307 00:26:47,580 --> 00:26:49,660 small routers don't have an internal time source. 308 00:26:50,540 --> 00:26:51,600 Two workarounds for that 309 00:26:51,600 --> 00:26:53,040 is you can tell them, 310 00:26:53,140 --> 00:26:54,800 to use an NTP source 311 00:26:54,800 --> 00:26:55,780 that's out on the network, 312 00:26:55,980 --> 00:26:57,000 which is okay. 313 00:26:57,580 --> 00:26:58,460 Or you could, 314 00:26:59,160 --> 00:27:00,800 as my Cisco instructor said, 315 00:27:00,900 --> 00:27:01,700 you could hook up a GPS 316 00:27:01,700 --> 00:27:03,020 to the back of your router 317 00:27:03,020 --> 00:27:03,960 and you would have a time source. 318 00:27:06,980 --> 00:27:07,960 More than 10 sites. 319 00:27:08,960 --> 00:27:10,300 After you get to about 10 sites, 320 00:27:10,400 --> 00:27:11,520 typing in shared keys 321 00:27:11,520 --> 00:27:12,600 for each different site 322 00:27:12,600 --> 00:27:13,600 could be a little repetitive. 323 00:27:13,920 --> 00:27:15,460 Your configs could be a little long. 324 00:27:15,680 --> 00:27:18,680 You can then go to what's called TED. 325 00:27:18,920 --> 00:27:19,980 And TED is an algorithm 326 00:27:20,440 --> 00:27:21,540 that allows you to do 327 00:27:21,540 --> 00:27:23,000 hundreds of sites 328 00:27:23,140 --> 00:27:24,640 and everything is dynamic. 329 00:27:25,740 --> 00:27:27,360 The configuration for that, 330 00:27:27,380 --> 00:27:29,300 I could spend an hour on in slides 331 00:27:29,300 --> 00:27:32,400 trying to show what you could do with TED 332 00:27:32,400 --> 00:27:33,380 and how it actually works. 333 00:27:34,240 --> 00:27:35,640 Hardware limits the amount of tunnels. 334 00:27:36,640 --> 00:27:38,080 Particular routers that we have, 335 00:27:38,620 --> 00:27:40,720 we can do 2,000 tunnels. 336 00:27:42,160 --> 00:27:43,740 The 2620s, which just now 337 00:27:43,740 --> 00:27:45,240 are capable of the encryption, 338 00:27:45,320 --> 00:27:46,520 I think can handle like 50. 339 00:27:47,140 --> 00:27:48,180 But the problem is 340 00:27:48,180 --> 00:27:49,640 you get into speed problems 341 00:27:49,640 --> 00:27:50,940 with how much bandwidth 342 00:27:50,940 --> 00:27:52,320 can be pushed through those routers. 343 00:27:53,140 --> 00:27:54,520 And then, of course, 344 00:27:54,580 --> 00:27:55,260 a fully mesh design 345 00:27:55,260 --> 00:27:56,600 would be even more complex 346 00:27:56,600 --> 00:27:57,860 if you consider 10 sites. 347 00:27:58,060 --> 00:27:59,500 So each of those 10 sites 348 00:27:59,500 --> 00:28:01,380 would then have 10 sites and 10 sites. 349 00:28:01,480 --> 00:28:03,260 So you'd have 40 pre-shared keys. 350 00:28:03,840 --> 00:28:05,420 Obviously not the best thing in the world. 351 00:28:07,180 --> 00:28:08,000 That's pretty much it. 352 00:28:08,140 --> 00:28:08,680 In summary, 353 00:28:08,860 --> 00:28:10,060 don't use the default blindly. 354 00:28:10,740 --> 00:28:12,080 Deploy services that are needed. 355 00:28:12,280 --> 00:28:13,840 Allow device management from anywhere. 356 00:28:14,100 --> 00:28:15,840 Use clear or easy guess passwords. 357 00:28:16,120 --> 00:28:17,360 Send important data in clear text. 358 00:28:17,580 --> 00:28:19,640 And assume that you're not going to be hacked. 359 00:28:20,540 --> 00:28:22,020 Do make sure that you secure 360 00:28:22,020 --> 00:28:22,800 your network devices. 361 00:28:23,140 --> 00:28:23,920 Use strong authentication. 362 00:28:24,340 --> 00:28:26,680 Deploy firewalls on all internet connections. 363 00:28:27,220 --> 00:28:28,880 Deploy some form of intrusion detection. 364 00:28:29,180 --> 00:28:30,380 And make sure that you are logging. 365 00:28:32,220 --> 00:28:33,880 These particular sources right here 366 00:28:33,880 --> 00:28:34,500 are really good. 367 00:28:34,620 --> 00:28:36,020 We have Cisco's 368 00:28:36,020 --> 00:28:37,940 Improving Security on Cisco Routers 369 00:28:37,940 --> 00:28:40,180 and Security Technical Tips. 370 00:28:41,800 --> 00:28:43,240 And then these are more 371 00:28:43,240 --> 00:28:44,400 of my personal sites 372 00:28:44,400 --> 00:28:45,140 that I like to read 373 00:28:45,140 --> 00:28:46,680 just for interesting. 374 00:28:47,060 --> 00:28:48,600 Which, of course, is Infowar, 375 00:28:48,800 --> 00:28:50,740 Insecure, Security Portal, 376 00:28:50,960 --> 00:28:52,840 Security Focus, SANS, 377 00:28:53,140 --> 00:28:53,900 and, of course, COAST. 378 00:28:55,500 --> 00:28:55,900 That's it. 379 00:28:57,480 --> 00:28:58,280 Thank you.