06-19-2014 02:33 AM
Hi i have a question.
I hope one of you can help me.
my problem is that i want to internet via the VPN tunnenl.
I have a VPN connection with my ASA 5505 at home.
I`m able to access all the inside devices. But i`m unable to access the internet.
is it possible to internet using the internet connection i have at home.
i`f played around with the following commands:
same-security-traffic permit intera-interface &
same-security-traffic permit intera-interface & split-tunnel-policy tunnelall
asa version: 9.1(2)
asdm version: 7.1(3)
Greetings
Palermo
Solved! Go to Solution.
06-20-2014 02:20 AM
from the client that is connected via VPN are you able to ping 4.2.2.2?
If yes, if you issue an nslookup google.com does the name resolve?
If not then I think the following highlighted command is the problem:
group-policy Home-VPNSSL attributes
wins-server none
dns-server none
vpn-tunnel-protocol ikev1 ikev2 l2tp-ipsec ssl-client
Try defining your DNS server here and then test.
--
Please remember to select a correct answer and rate helpful posts
06-19-2014 03:11 AM
Hi Palermo,
Yes you can but you have to do Hair-pinning your ASA....
Also NAT rule should be given for (Outside,Outside) to permit the traffic from Outside to go once again a Outside Path which is a U-Turn...
Eg: It should be something like this
object network OBJ_VPN_Pool
network 192.168.10.0 255.255.255.0
nat (outside,outside) dynamic interface
HTH
Regards
Karthik
06-19-2014 09:59 PM
Hi nkarthikeyan
I`f been looking into hair pinning as-well. But all the explanation and screenshots are from older versions of ASDM. I cannot find the hairpin feature.
object network OBJ_VPN_Pool
network 192.168.10.0 255.255.255.0
nat (outside,outside) dynamic interface
So i try to understand what you showing:
I need to make a opject of the "VPN ip DHCP range" in my case 192.168.1.100-110/24
and then i should enter the nat statment you gave me.
Is this correct?
Thanks in advanced
06-20-2014 12:32 AM
Hi Palermo,
Yes. VPN Pool will be the source and NAT to be done for Outside to Outside as given along with the same-security-traffic permit intra-interface which you were mentioned in the original post.
So this will ensure the traffic come in and go out on the same interface.
It should work in the way we explained.
HTH
Regards
Karthik
06-19-2014 05:17 AM
You would also need to adjust the No NAT statement to be from any to the VPN pool IPs.
--
Please remember to select a correct answer and rate helpful posts
06-19-2014 10:03 PM
what you telling me is may be the same thing as what nkarthikeyan is telling?
I`m quite new to the ASA series of cisco.
Mostly all thinks are done via ASDM. All the screenshots are form older version of ASDM.
Cisco has changed allot over the past few years.
Thanks in advanced
Greetings
Palermo
06-20-2014 12:00 AM
You need to configure hairpinning for the RA VPN and one part is done by using the command Karthik provided. the other is to allow traffic to make a u-turn on an interface (enter and then leave the same interface) which you have already mentioned in your original post. So here is my spin on the commands you need to use:
same-security-traffic permit intra-interface
object network RA_VPN
range 192.168.1.100 192.168.1.110
nat (outside,outside) dynamic interface
--
Please remember to select a correct answer and rate helpful posts
06-20-2014 02:03 AM
Hi Marius
Marius and nkarthikeyan
Thanks for helping me.. it gives me a good grasp of de cisco asa tech. (not so easy:-)
I configured like you say`d. Problem is that i need to configure all via ASDM. Not handy.
the config looks like this:
object network RA_VPN range 192.168.1.100 192.168.1.110
object network obj_any nat (inside,outside) dynamic interface object network RA_VPN nat (outside,outside) dynamic interface
and of course
same-security-traffic permit intra-interface
I`m not able to internet via VPN tunnel.
am i missing something.
if added the complete config as an attachment.
ps... It is not really need to have the VPN_Pool in the same subnet as the DHCP server for local interfaces. But if i change the subnet to a different range i`m not able to access devices from the local subnet.. I`m bona solve that later..
06-20-2014 02:20 AM
from the client that is connected via VPN are you able to ping 4.2.2.2?
If yes, if you issue an nslookup google.com does the name resolve?
If not then I think the following highlighted command is the problem:
group-policy Home-VPNSSL attributes
wins-server none
dns-server none
vpn-tunnel-protocol ikev1 ikev2 l2tp-ipsec ssl-client
Try defining your DNS server here and then test.
--
Please remember to select a correct answer and rate helpful posts
06-20-2014 03:06 AM
Whow.
How cool is that. (or not)
it is exactly how you said it..
I`m able to ping to the 4.2.2.2 and 8.8.8.8
But i`m not able to resolve google.com from the client via VPN.
So i`n now looking into configuring the DNS from the local internet provider.
l`l let you know.
thanks
06-20-2014 03:23 AM
Hi Palermo,
Yeah... The DNS from the local service provider will give you the desired result.... Open DNS server mapping will have the latency and performance issues.....
HTH
Regards
Karthik
06-20-2014 04:08 AM
Hi,
I`f configured the DNS. But still no cigar.
I`f configured the DNS on the following places:
group-policy Home-VPNSSL attributes wins-server none dns-server value 213.51.129.37 vpn-tunnel-protocol ikev1 ikev2 l2tp-ipsec ssl-client
and
ns domain-lookup inside dns server-group DefaultDNS name-server 213.51.129.37 name-server 213.51.144.37 domain-name ziggo.nl same-security-traffic permit intra-interface
How far can i be wrong.
i`f got the feeling that we are close.
Thanks in advanced
06-20-2014 04:24 AM
did you disconnect and then reconnect the VPN client? if not please disconnect and reconnect and then test.
--
Please remember to select a correct answer and rate helpful posts
06-20-2014 04:58 AM
Marius,
the fact that i`m posting this message via internet over the VPN session says enough. :-)
I guess that i was a bit impatient.
After disconnecting en reconnecting, internet works via VPN.
I`m gona clean up the configuration after a lot of testing and trying.
MariusGunnerud & nkarthikeyan & tbangia
Without you. i think i never got it working. I leaned allot today.
Thanks for your help. I really appreciate it.
Greeting
Palermo
06-20-2014 05:13 AM
NICE!
Glad you got it working, and thank you for the rating
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