Solved

ASA VPN - Internet Access

Posted on 2009-04-01
6
317 Views
Last Modified: 2013-12-23
Having trouble getting internet access to work once I connect the VPN client.

I can ping all the way out to the external interface once the vpn client is connected.  

I am pretty sure it is something stupid, but I am currently stuck.

Thanks for the help.

-chris
ASA Version 8.0(3)

!

hostname sun

domain-name xxxx

enable password *&^%*&%*&^%&*% encrypted

names

!

interface Vlan1

 nameif outside

 security-level 0

 ip address xx.xx.xx.xx 255.255.255.248

!

interface Vlan4

 no nameif

 security-level 50

 ip address pppoe

!

interface Vlan11

 nameif inside

 security-level 100

 ip address 192.168.1.1 255.255.255.0

!

interface Ethernet0/0

!

interface Ethernet0/1

 switchport access vlan 11

 shutdown

!

interface Ethernet0/2

 switchport access vlan 11

!

interface Ethernet0/3

 switchport access vlan 11

!

interface Ethernet0/4

 switchport access vlan 11

!

interface Ethernet0/5

 switchport access vlan 11

!

interface Ethernet0/6

 switchport access vlan 11

!

interface Ethernet0/7

 switchport access vlan 11

!

passwd *&^%*&%*&^%&*% encrypted

ftp mode passive

dns server-group DefaultDNS

 domain-name hexnet

same-security-traffic permit intra-interface

access-list inbound extended permit ip host x.x.x.x host x.x.x.x

access-list inbound extended permit ip host x.x.x.x host x.x.x.x

access-list inbound extended permit tcp any host x.x.x.x eq 3389

access-list inbound extended permit ip any host x.x.x.x

access-list inbound extended permit tcp any host x.x.x.x eq www

access-list inbound extended permit tcp any host x.x.x.x eq 5001

access-list inbound extended permit tcp any host x.x.x.x eq 5002

access-list inbound extended permit tcp any host x.x.x.x eq 5003

access-list inbound extended permit tcp any host x.x.x.x eq https

access-list inbound extended permit tcp any host x.x.x.x eq www

access-list inbound extended permit tcp any host x.x.x.x eq imap4

access-list inbound extended permit tcp any hos tx.x.x.x eq ssh

access-list inbound extended permit tcp any hostx.x.x.x eq 5001

access-list inbound extended permit ip any host x.x.x.x

access-list inside_nat0_outbound extended permit ip any 192.168.1.0 255.255.255.0

access-list hexvpn_splitTunnelAcl standard permit any

pager lines 24

logging enable

mtu outside 1500

mtu inside 1500

ip local pool vpnpool 192.168.1.50-192.168.1.55 mask 255.255.255.0

icmp unreachable rate-limit 1 burst-size 1

asdm image disk0:/asdm-603.bin

no asdm history enable

arp timeout 14400

global (outside) 1 interface

nat (inside) 0 access-list inside_nat0_outbound

nat (inside) 1 0.0.0.0 0.0.0.0

static (inside,outside) x.x.x.x 192.168.1.80 netmask 255.255.255.255

static (inside,outside) x.x.x.x 192.168.1.133 netmask 255.255.255.255

static (inside,outside) x.x.x.x 192.168.1.132 netmask 255.255.255.255

static (inside,outside) x.x.x.x192.168.1.150 netmask 255.255.255.255

static (inside,outside) x.x.x.x 192.168.1.237 netmask 255.255.255.255

static (inside,outside) x.x.x.x 192.168.1.140 netmask 255.255.255.255

static (inside,outside) x.x.x.x 192.168.1.180 netmask 255.255.255.255

access-group inbound in interface outside

route outside 0.0.0.0 0.0.0.0 x.x.x.x 1

timeout xlate 3:00:00

timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02

timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00

timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00

timeout uauth 0:05:00 absolute

dynamic-access-policy-record DfltAccessPolicy

aaa authentication enable console LOCAL

aaa authentication http console LOCAL

aaa authentication ssh console LOCAL

aaa authentication telnet console LOCAL

http server enable

http 192.168.1.0 255.255.255.0 inside

no snmp-server location

no snmp-server contact

snmp-server enable traps snmp authentication linkup linkdown coldstart

crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac

crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac

crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac

crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac

crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac

crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac

crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac

crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac

crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac

crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac

crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs

crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5

crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP

crypto map outside_map interface outside

crypto isakmp enable outside

crypto isakmp policy 10

 authentication pre-share

 encryption 3des

 hash sha

 group 2

 lifetime 86400

telnet 0.0.0.0 0.0.0.0 inside

telnet timeout 10

ssh 0.0.0.0 0.0.0.0 inside

ssh timeout 10

console timeout 0

dhcpd dns x.x.x.x x.x.x.x

dhcpd lease 14400

dhcpd ping_timeout 300

dhcpd domain hexnet

!

dhcpd address 192.168.1.180-192.168.1.190 inside

dhcpd dns x.x.x.x x.x.x.x interface inside

dhcpd lease 14400 interface inside

dhcpd ping_timeout 300 interface inside

dhcpd domain geekadvice interface inside

dhcpd update dns both interface inside

dhcpd enable inside

!

 

threat-detection basic-threat

threat-detection statistics

group-policy hexvpn internal

group-policy hexvpn attributes

 dns-server value x.x.x.x x.x.x.x

 vpn-tunnel-protocol IPSec

 split-tunnel-policy tunnelspecified

 split-tunnel-network-list value hexvpn_splitTunnelAcl

 default-domain value hexnet

username nulluser password *(^*(&^*(&^&*(^&*(^&*(^ encrypted privilege 15

tunnel-group hexvpn type remote-access

tunnel-group hexvpn general-attributes

 address-pool vpnpool

 default-group-policy hexvpn

tunnel-group hexvpn ipsec-attributes

 pre-shared-key *

!

class-map inspection_default

 match default-inspection-traffic

!

!

policy-map type inspect dns preset_dns_map

 parameters

  message-length maximum 512

policy-map global_policy

 class inspection_default

  inspect dns preset_dns_map

  inspect ftp

  inspect h323 h225

  inspect h323 ras

  inspect netbios

  inspect rsh

  inspect rtsp

  inspect skinny

  inspect esmtp

  inspect sqlnet

  inspect sunrpc

  inspect tftp

  inspect sip

  inspect xdmcp

!

service-policy global_policy global

prompt hostname context

Cryptochecksum:d67f46de5e733b70147e0b02045cf13d

: end

sun#

Open in new window

0
Comment
Question by:TheHexzero
  • 3
  • 2
6 Comments
 
LVL 5

Expert Comment

by:theoaks
Comment Utility
try being more specifc with your split tunnel acl

ie

access-list hexvpn_splitTunnelAcl permit ip 192.168.1.x 255.255.255.0 any
0
 
LVL 5

Expert Comment

by:theoaks
Comment Utility
and remove the other line of course..
i believe whats happening is your telling your client to send "any" traffic through the tunnel - even internet traffic. specifiying 192.168.1.0 255.255.255 0 > any in your acl should tell the client that ony send local traffic over the tunnel and web traffic to go out the regular way.

can someone confirm that... its been a while since ive touched cisco ios (stuck with hp where i work!!)
0
 

Author Comment

by:TheHexzero
Comment Utility
Thanks theoaks.  

I should have specified:

I would like all traffic to go through the tunnel and out the "Outside" interface of ASA firewall.

Let me know if that helps...

-hexzero
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 5

Accepted Solution

by:
theoaks earned 50 total points
Comment Utility
0
 
LVL 2

Expert Comment

by:e3user
Comment Utility
just correct this ACL to the following

access-list hexvpn_splitTunnelAcl standard permit 192.168.1.0 255.255.255.0
no access-list hexvpn_splitTunnelAcl standard permit any
0
 

Author Closing Comment

by:TheHexzero
Comment Utility
Link was good....turns out I was not sending everything to the tunnel.  

Needed to make sure I added: split-tunnel-policy tunnelall      <-- added this to the group-policy attributes.

Thanks for the help!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now