Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

AnyConnect VPN full tunnel with internet access

Currently I am using an AnyConnect VPN (split tunnel) for remote access.

This works great.

However I would like to change this VPN to full tunnel mode.

I already tried configuring it without any problem, it's also working, except one thing, to have internet access while having a full tunnel AnyConnect session.


I was expecting the internet traffic to be routed over the tunnel, and go out on the remote side to the internet, but this requires additional configuration.

Does anybody know how to configure an internet breakout using AnyConnect full tunnel mode?

Everyone's tags (1)
18 REPLIES
Cisco Employee

Re: AnyConnect VPN full tunnel with internet access

Hi Jan,

What exactly do you mean by internet breakout? If you are looking to u-turn the traffic from the other side then you can check out the following guide:

http://www.cisco.com/en/US/products/ps6120/products_configuration_example09186a00805734ae.shtml

While this was originally written for IPSEC, it shouldn't be too different for Anyconnect.


Regards,
Atri.

New Member

Re: AnyConnect VPN full tunnel with internet access

Hi Atri,

Actually, yes I mean U turning the traffic, however the commands in the mentioned documentation are not available using IOS SSLVPN.

Regards,

Jan

Cisco Employee

Re: AnyConnect VPN full tunnel with internet access

On a router if you have natting enabled for the traffic and a default route as well then you shouldn't have any problems in u-turning the traffic. U-turning is only required on ASAs which have security policies in place that would otherwise drop the traffic. Can you paste the configuration on your gateway?

New Member

Re: AnyConnect VPN full tunnel with internet access

Hi Atri,

Actually I placed the VPN users within the same subnet as the normal users, which means when normal users can access internet, things like default gateway as well as NAT are configured the right way.

I'm going to check on the other reactions.

Silver

Re: AnyConnect VPN full tunnel with internet access

I assume that you are using the ASA as vpn server.

You would require to nat the traffic sourcing from the vpn pool subnet to the outside interface ip address( pat). Also the command same-security permit intra-interface is required.

so

nat(outside) 1

global(outside) 1 interface ( u should already be having this for internet traffic for lan)

same-security permit intra-interface

New Member

Re: AnyConnect VPN full tunnel with internet access

Hi Rahul,

No, I am using a Cisco router, to be more specific, a Cisco 877W, using IOS SSLVPN.

Regards,
Jan

Cisco Employee

Re: AnyConnect VPN full tunnel with internet access

Jan,

I've recently written about it:

https://supportforums.cisco.com/community/netpro/security/vpn/blog/2010/12/08/advantages-of-vti-configuration-for-ipsec-tunnels

Webvpn supports VTI configuration in newer IOS releases.

Marcin

New Member

Re: AnyConnect VPN full tunnel with internet access

Hi Marcin,

Thanks for your reply, I did some decent searching on anyconnect, and some related keywords, but didn't find your post.

Can you please indicate in which IOS version this feature was introduced?

I am using advipservicesk9-mz.124-24.T3.bin myself.


Thanks!
Regards,

Jan

Cisco Employee

Re: AnyConnect VPN full tunnel with internet access

Jan,

Indeed my post was meant to highlist benefits for IPSec and not specific to webvpn ;-)

I believe the functionality has been introduced with 12.4.20T and onwards where new CEF code was introduced, but I can't find the exact release.

http://www.cisco.com/en/US/docs/ios/sec_secure_connectivity/configuration/guide/sec_ssl_vpn_ps6441_TSD_Products_Configuration_Guide_Chapter.html#wp1498349

Tha being said 12.4(24)T is the last software train in 12.4T and it should contain all features in config guide.

Marcin

New Member

Re: AnyConnect VPN full tunnel with internet access

Hi Marcin,

I changed the config with the information you provided, but it isn't working for me so far.

Hopefully you can help me a bit.

I have a 877W with an ATM interface as WAN interface (ASDL), which is configured  under ATM0.1


As stated in the docs I created the following interface:

interface Virtual-Template1
ip unnumbered ATM0.1
ip nat inside
ip virtual-reassembly

Secondly, I added this virtual template under the webvpn context:

virtual-template 1

According to the docs this should do the trick, however, the Virtual-Templace interface stays down, and the feature isn't working.

Virtual-Template1          123.123.123.123  YES TFTP   down                  down   

The webvpn is working flawlessy, using a split tunnel.

Hope you can indicate what's missing.

Best regards,

Jan

Cisco Employee

Re: AnyConnect VPN full tunnel with internet access

Jan,

I only tested this feature intially when introduced ... so my recollections are vague at best ;-)

How this is supposed to work (AFAIR) is to spawn virtual-access interfaces from virtual template, I'm not sure if it's technially necessary for virtual-template interface to be up/up.

That being said ... let's see "show webvpn context NAME_HERE" to verify if template is applied there.

I'm actually starting to think if I didn't sell you false hope ... I did a quick search in feature navigator and offically I see support in platforms starting from 18xx and in 15.1T (and on). Oddly enough the config guide from 12.4T contains VTI support without restrictions.

Marcin

New Member

Re: AnyConnect VPN full tunnel with internet access

Hi Marcin,

Actually the Virtual-Template is stated when issueing the show webvpn context [name] command.

router#sh webvpn context router
Admin Status: up
Operation Status: up
Error and Event Logging: Disabled
CSD Status: Disabled
Certificate authentication type: All attributes (like CRL) are verified
AAA Authentication List: default
AAA Authorizationtion List not configured
AAA Authentication Domain not configured
Default Group Policy: sslpolicy
Associated WebVPN Gateway: router

Domain Name and Virtual Host not configured
Maximum Users Allowed: 2
NAT Address not configured
VRF Name not configured
Virtual Template: 1

router#

Regards, Jan

Cisco Employee

Re: AnyConnect VPN full tunnel with internet access

Jan,

Odd, but if no virtual-access is spawned, well I guess you could open a TAC case to make sure this is supported on this particular platform version.

In the meantime, we could try the the old way, loopback interface with "ip nat inside" applied and send all traffic from VPN to it.

Marcin

Cisco Employee

Re: AnyConnect VPN full tunnel with internet access

Hi Jan,

Did you add the Virtual Template \ Or Made changes to the virtual-template 'after' defining it under the webvpn context ?

If you did then please remove the "virtual-template"command from under the webvpn config and then re-add it again.

Also the Virtual-Template will always stay down, it will be a virtual-access interface that you should be seeing Up in "show ip interface brief" command.

Thanks,

Naman

New Member

Re: AnyConnect VPN full tunnel with internet access

Hi Naman,

Thanks for your input, I tried readding the virtual-template under the webvpn context, however, no difference.

Basically both the virtual-template as well as the virtual-access stay down while a user is connected.

Best regards,

Jan

Cisco Employee

Re: AnyConnect VPN full tunnel with internet access

Hi Jan,

If you feel comfortable then you can post your config here (?) and I can take a look Or You can open a TAC case and continue from there.

Thanks,

Naman

Check the default gateway

Check the default gateway assigned to clients when full tunnel is used.
Is the one correct one ?
If not (other than .1) check this out

https://supportforums.cisco.com/discussion/10780776/how-can-i-specify-default-gateway-anyconnect-users-local-ip-pool
 

New Member

And what solution?.... I have

Solved!

"webvpn sslvpn-vif nat inside" in global configuration!

13723
Views
0
Helpful
18
Replies