Solved

Modify Pix VPN for windows domain authentication.

Posted on 2007-04-07
7
296 Views
Last Modified: 2010-04-09
I've got a number of people that VPN into our PIX firewall to get to our local network.  Below is a sample of my VPN setup.  Right now you can see that everyone connects to the VPN using the same username and password.  I need to change this config so that the users must have a valid username and password on our windows domain controller (10.50.100.200) in order to create the VPN tunnel.  Can you tell me how to modify my config?  Is it possible to use windows domain authentication before creating the tunnel?


sysopt connection permit-ipsec
crypto ipsec transform-set myset esp-3des esp-md5-hmac
crypto dynamic-map dynmap 10 set transform-set myset
crypto map mymap 10 ipsec-isakmp dynamic dynmap
crypto map mymap interface outside
isakmp enable outside
isakmp nat-traversal 20
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption 3des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
vpngroup brasslanvpn address-pool vpnpool
vpngroup brasslanvpn dns-server 10.50.100.200
vpngroup brasslanvpn default-domain domain.com
vpngroup brasslanvpn split-tunnel allow-internet
vpngroup brasslanvpn idle-time 1800
vpngroup brasslanvpn password ******
0
Comment
Question by:brasslan
  • 3
  • 2
  • 2
7 Comments
 
LVL 28

Accepted Solution

by:
batry_boy earned 400 total points
ID: 18870040
PIX 6.x code will not natively support NT domain authentication for your VPN users, but the new 7.x code will.  What version are you running on your PIX?

Version 6.x only supports TACACS+ and RADIUS for authentication protocols.  If you're running 6.x, then see the following example for setting up IAS to use as a RADIUS server which will give you what you're looking for:

http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a00800b6099.shtml
0
 
LVL 6

Author Comment

by:brasslan
ID: 18870242
Unfortunately it is the PIX 6.x code, and the budget wont allow for a pix upgrade, or a RADIUS server purchase.  

I think I can also setup a list of user names and passwords inside of the pix, can't I?  Then if I want to remove vpn access, I can remove their username from the config.  Probably not as nice as a Radius setup but still doable on my scale.  Right now we will only have 3 to 5 people with VPN access.

Do you know the code for that?
0
 
LVL 28

Expert Comment

by:batry_boy
ID: 18870721
Assuming you already have the crypto and isakmp stuff set up in the configuration, here are the commands for local VPN user authentication:

---------------
aaa-server LOCAL protocol local
ip local pool ippool 10.1.1.1-10.1.1.100
vpngroup vpnusers address-pool ippool
vpngroup vpnusers dns-server 192.168.1.200
vpngroup vpnusers wins-server 192.168.1.201
vpngroup vpnusers default-domain yourdomain.com
vpngroup vpnusers split-tunnel splitTunnelAcl
vpngroup vpnusers idle-time 86400
vpngroup vpnusers password <group_password>
username johndoe password <whatever> privilege 2
access-list splitTunnelAcl permit ip 192.168.1.0 255.255.255.0 any
--------------

The two lines with the references to split tunneling are optional if you want your users to be cut off from the Internet when they are in a VPN session.  However, because the 6.x code doesn't support "hairpinning", you will need to implement split tunneling if you want your VPN users to get to the Internet while in a tunnel.  In the split tunnel ACL, you specify the network(s) behind as the source of the ACL when you want those networks to be encrypted and sent down the tunnel.  Always seemed backwards to me, but that's the way it is...

You can add as many usernames as you like (privilege level 2 is a default).  You can just put in:

username johndoe password mypassword

The VPN users will be assigned an IP address from "ippool" and be assigned the specified dns and wins server entries.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 6

Author Comment

by:brasslan
ID: 18872528
You can see my crypto and ISAKMP setup in the original question.  The only thing that I didn't have that you mentioned was a username and password listed in the pix.  I added this and it still let me create the tunnel without knowing the username and password.  With further research on the net I found that I also needed to add this line.

crypto map mymap client authentication LOCAL

The only question that I have left is for lrmoore, I got an e-mail saying that you posted to this question about 45 min after batry_boy's last post, but I don't see anything here.  Did you post something?  Did it disappear?  
0
 
LVL 79

Assisted Solution

by:lrmoore
lrmoore earned 100 total points
ID: 18872619
I posted the same link that batry_boy posted for an example to use Windows IAS. I didn't realize that he had already provided that link and I didn't want to confuse matters so I had my comment deleted.
If you follow the directions in the link it will be as good a solution as you can get and users can use their regular domain username/passwords and you don't have to maintain duplicate usernames on the pix itself
0
 
LVL 6

Author Comment

by:brasslan
ID: 19027321
I won't have time to set this up for a couple of weeks, but with the link that batry provided I shouldn't have a problem.

To tell you the truth, I didn't read that link until lrmoore posted and deleted and reposted his comment :-).  I didn't click the link because the RADIUS software that I've used in the past had to be purchased and the tech budget is too tight for more software.  But after lrmoore's posting the exact same link (almost) I figured it would be worth a read.  I'm glad I did, now I know that I don't have to purchase anything else.

100 pts for lrmoore for telling me that batry was right. (sorry batry) :-) hehe
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 19027974
You are too kind, sir, but have learned a valuable lesson - follow the links...you never know what's on the other side!

0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cisco ASA version 8.2 NAT to version 9 NAT 3 34
Using VLAN Interface in ASA 5 32
Cisco switch suggestion 5 45
Unmanaged Switches for Optimized Network Speeds 7 37
I found an issue or “bug” in the SonicOS platform (the firmware controlling SonicWALL security appliances) that has to do with renaming Default Service Objects, which then causes a portion of the system to become uncontrollable and unstable. BACK…
Imagine you have a shopping list of items you need to get at the grocery store. You have two options: A. Take one trip to the grocery store and get everything you need for the week, or B. Take multiple trips, buying an item at a time, to achieve t…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question