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

Additional VPN Groups 1

Status
Not open for further replies.

STF26

IS-IT--Management
Dec 9, 2003
130
US
We want to add additonal vpngroups to our pix to restrict certain vpn users to certain resources. Does anyone know how to do this (create acls for vpngroups) or have some sample configurations? For example I want to have some users come in on the vpn and be restricted to just terminal services on one LAN subnet.
 
You could do something like this. In this example users using VPN group2 credentials only have access to 192.168.1.100 on port 25 SMTP.


ip address inside 192.168.1.1 255.255.255.0

nat (inside) 0 access-list vpn

access-list vpn permit ip 192.168.1.0 255.255.255.0 10.0.0.0 255.255.255.0
access-list vpn permit tcp host 192.168.1.100 eq 25 10.1.0.0 255.255.255.0

access-list group1 permit ip 192.168.1.0 255.255.255.0 10.0.0.0 255.255.255.0
access-list group2 permit tcp host 192.168.1.100 eq 25 10.1.0.0 255.255.255.0

ip local pool group1 10.0.0.1-10.0.0.10
ip local pool group2 10.1.0.1-10.1.0.10

vpngroup group1 address-pool group1
vpngroup group1 split-tunnel group1

vpngroup group2 address-pool group2
vpngroup group2 split-tunnel group2



----

Sunyasee
 
Thanks for your reply!

How do you apply the acl you created for group 2 to the ip local pool group2?
 
You dont need to apply the access-list to the group. The clients using pool group2 will get assigned a 10.1.0.x address, the access-list will permit or deny them access based on their source address and the destination address they are trying to reach.

----

Sunyasee
 
I created the additional VPN group and it works fine.
I have tried to restrict some traffic however I am still having trouble with it.

Here is the config from the unit
Also, when you configure the isakmp policy how does that apply to the vpngroups?


PIX Version 6.3(3)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password encrypted
passwd encrypted
hostname
domain-name .net
clock timezone EST -5
clock summer-time EDT recurring
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
access-list inbound permit icmp any any
access-list inbound permit tcp any any eq smtp
access-list inbound permit tcp any any eq https
access-list inbound permit tcp any any eq 3389
access-list inbound permit tcp any any eq www
access-list nonat permit ip 192.168.254.0 255.255.255.0 172.16.100.0 255.255.255
.0
access-list nonat permit ip 192.168.254.0 255.255.255.0 172.16.101.0 255.255.255
.0
access-list split permit ip 192.168.254.0 255.255.255.0 172.16.100.0 255.255.255
.0
access-list restrict permit tcp host 192.168.254.200 eq smtp 172.16.101.0 255.25
5.255.0
pager lines 24
logging on
logging timestamp
logging host inside 192.168.254.200 6/1470
mtu outside 1500
mtu inside 1500
ip address outside dhcp setroute
ip address inside 192.168.254.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool ippool 172.16.100.5-172.16.100.10
ip local pool restrict 172.16.101.5-172.16.101.10
pdm location 192.168.254.11 255.255.255.255 inside
pdm location 192.168.254.200 255.255.255.255 inside
pdm location 172.16.100.0 255.255.255.0 outside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list nonat
nat (inside) 1 192.168.254.0 255.255.255.0 0 0
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp interface https 192.168.254.200 https netmask 255.25
5.255.255 0 0
static (inside,outside) tcp interface smtp 192.168.254.200 smtp netmask 255.255.
255.255 0 0
static (inside,outside) tcp interface 3389 192.168.254.11 3389 netmask 255.255.2
55.255 0 0
static (inside,outside) tcp interface 255.255.25
5.255 0 0
access-group inbound in interface outside
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
aaa-server partnerauth protocol radius
aaa-server partnerauth (inside) host 192.168.254.200 $TF=radius timeout 5
ntp server 192.168.254.200 source inside
http server enable
http 192.168.254.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
sysopt ipsec pl-compatible
crypto ipsec transform-set myset esp-des esp-md5-hmac
crypto dynamic-map dynmap 10 set transform-set myset
crypto map mymap 10 ipsec-isakmp dynamic dynmap
crypto map mymap client authentication partnerauth
crypto map mymap interface outside
isakmp enable outside
isakmp identity address
isakmp nat-traversal 20
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
vpngroup address-pool ippool
vpngroup dns-server 192.168.254.200
vpngroup wins-server 192.168.254.200
vpngroup default-domain stfconsulting.net
vpngroup split-tunnel split
vpngroup idle-time 1800
vpngroup password ********
vpngroup restrict address-pool restrict
vpngroup restrict dns-server 192.168.254.200
vpngroup restrict wins-server 192.168.254.200
vpngroup restrict default-domain stfconsulting.net
vpngroup restrict split-tunnel split
vpngroup restrict idle-time 1800
vpngroup restrict password ********
telnet 192.168.254.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
terminal width 80
Cryptochecksum:4302af0c7e7c9f52d53c0b116a519b28
: end
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top