10-22-2012 07:42 AM
Hundreds famous websites (such as YouTube and Facebook) are blocked on our remote sites. We need these site VPN to our HQ to access them. We need to do split-tunneling.
These websites consists of many IPs from different subnets and spread out through the whole Internet. When you are split-tunneling the IPs based, it is impractical for me to add IP one by one.
So, what is the best way to handle this?
Han
Solved! Go to Solution.
10-22-2012 01:42 PM
Yes, it will be hard to say since that decision is made by the FB server.
HTH.
Portu.
10-22-2012 09:21 AM
Hi Han,
You use Split-tunneling when you want your user to be able to access remote resources behind the VPN server and at the same time be able to access any other resources though their local networks.
So, May I know why want them to access Facebook or YouTube across the tunnel (getting to the ASA or Router)?
In case you would like to access this websites through the tunnel, I think there are two ways:
1- Define every single IP address.
2- Have your VPN users resolve Facebook and YouTube through a specific internal DNS server across the tunnel, this server will only resolve to one single IP address or group of IPs. Then you add these IPs to your split-tunneling list.
Let me know.
Portu.
Please rate any helpful posts
10-22-2012 09:55 AM
"So, May I know why want them to access Facebook or YouTube across the tunnel (getting to the ASA or Router)?"
A: Many of our customer work inside other company/governent networks. These networks blocks the websites. they need to access the webs. and our customers we are setting up this remote vpn.
Of the two ways you mentioned. The second one sounds a good solution. Will I have to define IP ACL for the split-tunneling? How does traffic go when you use it? Is it like?
User sends a DNS for www.facebook.com. The internal server at HQ replies. Then, traffic from Facebook encrypted through tunnel to the user?
If it is, it can save me a lot time on listing the IPs
Thanks,
Han
10-22-2012 10:34 AM
Han,
The second option must be evaluated in a lab with a real DNS server and the proper captures from a user's machine since we need to confirm Web redirections and other variables. In case your DNS server can have control over this, then you will be able to reduce the number if IP adresses.
Once you have the list of required IPs in order to open a facebook session succesfully, then just add them to the split-ACL.
access-list SPLIT permit xxxx.xxxx.xxxx.xxxx
access-list SPLIT permit xxxx.xxxx.yyyy.yyyy
group-policy RA_SPLIT attributes
split-tunnel-policy tunnelspecified
split-tunnel-network-list value SPLIT
Hope to help.
Portu.
Please rate any helpful posts
10-22-2012 10:48 AM
Portu,
" The second option must be evaluated in a lab with a real DNS server and the proper captures from a user's machine since we need to confirm Web redirections and other variables. In case your DNS server can have control over this, then you will be able to reduce the number if IP adresses. "
I have difficulties understanding this techinque, do you have any link that i can read or can you elaborate?
thanks,
han
10-22-2012 11:14 AM
Han,
When a user connects to a website like Facebook, does not only hit one IP, since the server redirects the session to a different server (load-balancing, specific / dedicated functions, etc).
So, you may want to have a user access Facebook from his machine, run Wireshark and get all the Facebook IP addresses (IPs involved during the session) and then include these to the split-tunneling list.
Depending on the specific FW rules they have on their site, they may be able to resolve the names locally but still access the server through the tunnel or you can have them resolve Facebook with your DNS server at HQ through the tunnel.
Keep me posted.
Portu.
10-22-2012 11:55 AM
So, Portu,
From what you are saying, I get that, if Facebook has 30 IPs, you have to find them first and manually put all this IPs(either hosts or subnets) into the ACL list?
Which makes thinks how those Porxies like Bluecoat do? I guess they only need to block say "Facebook.com" then, all the traffic is blocked or permitted
can ASA split-tunneling do something similar to this?
thanks,
Han
10-22-2012 12:12 PM
Han,
Unfortunately no.
Split-tunneling does work at layer 3 level. You can have the VPN client send any DNS request to "facebook.com" across the tunnel (using split-dns) but it does not mean that the client will route the return IP address across the tunnel.
For this you will need to use "tunnelall" which as you know, sends all the traffic across the tunnel, in case you still need to access local resources then you may used "excludespecified" as discussed in a different post.
Thanks.
Portu.
10-22-2012 12:19 PM
Portu,
So, for this case, will an SSL VPN ( or, any other vpn, still on ASA) makes any difference?
thanks,
Han
10-22-2012 12:37 PM
Han,
Yes there is another option.
You could use the WebVPN solution and create a bookmark for "www.facebook.com".
Then your users access the portal (which is encrypted) and click on the bookmark. As long as the ASA has the correct DNS settings, "www.facebook.com" will be resolved and the user will be able to access this social network across the protected tunnel.
I think this is going to be the best option to get this working. However, by default the ASA will only allow to simultaneous SSL connections, so you will need to purchase more licenses.
Here is an example:
Configuring Clientless SSL VPN
How to configure the bookmark:
Keep me posted.
Thanks for all your time and great collaboration towards the resolution of this post
Portu.
Message was edited by: Javier Portuguez
10-22-2012 01:37 PM
It sounds better than "edit ip numbers".
In the following case, what will happen?
HQ is in DC, A user in LA and he web-vpns in the ASA, click the tab and DNS works fine, then the server(facebook) decided using its server in LA to the user. it means traffic will from LA--DC(asa)===LA(user)?
or the facebake, still sends the traffic from the one that near DC?
or it is hard to say?
I'll be deciding whether we go with webvpn.
thanks,
Han
10-22-2012 01:42 PM
Yes, it will be hard to say since that decision is made by the FB server.
HTH.
Portu.
10-22-2012 01:49 PM
Thanks, Portu, for the helpful info.
10-22-2012 03:51 PM
Dear Han,
It is always a pleasure working with you my friend
Thanks a lot.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide