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

Route Websites Through L2TP VPN

Hello,

I have a requirement in my network to establish a L2TP VPN to a remote office and route specific websites from my internal network to that VPN. for instance, i want to route www.bbc.com to L2TP VPN. 

This is what i have tried so far, but all my traffic is going through the VPN not the interested traffic. Interface fa0/1 is the internal network. 

Virtual-PPP1 is up running, traceroute is showing traffic going through VPN. 

class-map match-all URLtoVPN
match protocol http host "*.bbc.com"
match protocol http host "www.bbc.com"

!

!

policy-map L2TPPolicy
class URLtoVPN

!

!

route-map L2TPRouteMap permit 10
match policy-list L2TPPolicy
set interface Virtual-PPP1

!

!

interface FastEthernet0/1
ip address 10.120.0.1 255.255.255.252
ip nat inside
no ip virtual-reassembly
ip policy route-map L2TPRouteMap
duplex auto
speed auto
!
service-policy input Business
service-policy output Business
end

12
Views
0
Helpful
0
Replies
CreatePlease to create content