Question

VoIP over VPN Tunneling

Asked by: Hamed53

Hi,

We have a scenario here on our hand and we need urgent assistance...

We've recently taken a project in a country that implementation of VoIP is illegal! (dont ask me why) We like to connect the VoIP equipment to allow use of local PSTN lines for providing termination.

Its all simply possible if we bypass any local fibre Internet links by implementing a Satellite internet connection in that country and just install the VoIP equipment on that link. However the costs of the local fibre compared to that of satellite is like 1 to 10! so its not very feasible installing a satellite link just for that voip connection!

The local internet connection via fibre is available at very cheap prices, however it is constantly filtered/monitored for H323/SIP sessions which will then cause disconnection of that circuit by the government/provider.

I am thinking would it be possible to install a encrypted VPN tunnel between "A" site lets say in Germany and the one in that country and just pass the voip through it?

Im am concerned on these matters:

1) Would The VPN Tunneling (be it IPSEC) have any affect on the VoIP performance itself? eg dropping calls, jitter and/or quality issues etc etc.
2) How stable is this for a permenant link?
3) How much voip capacity can a tunnel handle? we are talking about 100+ calls
4) Can this tunnel be acheived using a freely available linux program or should we invest on a commercial platform which supports VPN? I know we can do it on cisco but i've heard lots about high CPU usages etc..
5) If all above is good, you know of any good tunneling programs and/or instructions?

Have you done this or similar to this before?? Any input is appreciated.

Regards
Hamed

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-09-27 at 03:55:53ID21575319
Tags

vpn

,

voip

,

over

Topic

Voice Over IP

Participating Experts
4
Points
300
Comments
23

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. VoIP
    Dear Experts. What are some of the considerations an our organization should look at when moving from a traditional phone system to Voice over IP (VoIP)? I think that when we switch to VOIP we may have existing telephony folks that suddenly find themselves more dependent on ...
  2. VoIP over VPN
    Requirement : In order to reduce calling charges, we would like to setup VoIP over Site-to-Site IPSec VPN from one office to another, as here VoIP is banned from our ISP, we have to go for this option. Local users should be able to directly dial peers from their PBX phones a...
  3. Cisco 871w - VOIP
    Can you run a VOIP phone through an 871 router that has an ipsec vpn tunnel back to the company headquarters?
  4. VOIP & VPN
    How many concurrent VOIP connections can reside in 1 VPN tunnel?

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: grbladesPosted on 2005-09-27 at 05:15:00ID: 14965780

1) VoIP uses very small packets and the VPN will increase the size of the packet. This is not a bad thing performance wise but you will be using up more bandwidth and therefore need to be carefull when calculating how many simultaneous calls the VPN will support.

2) If you use proper VPN hardware designed for corporate use (Cisco, Nortel etc...) then the VPN should be very reliable. The reliability of the VPN will then basically be the reliability of the internet connection between offices.

3) This depends on bandwidth and what codec the VoIP is using.

4) You can do a VPN on Linux but I would recommend you go with something like a Cisco PIX as it is a reliable system. If you go with Linux for example it will inheretly be less reliable.

 

by: dcsitdirPosted on 2005-09-28 at 13:23:05ID: 14978795

Hamed,

My company recently implemented a 5 site VoIP installation and we've used Linux devices as Firewall/Router/VPN devices and thus far have had no problems using them on a daily basis.  Even with those connections that are running across dynamically assigned Digital Subscriber Line connections, the frequency of loss is nominal.

Have you considered what VoIP protocol you will be using, as SIP tends to require more overhead than H323?  Another thing to consider is that some PBXs will assign an 802.1p tag to packets leaving the hub, but a lot of SIP endpoints do not assign those same tags to packets destined for the hub.

What kind of PBX are you planning on using for this implementation?

Regards,

Andrew

 

by: ripariusPosted on 2005-10-05 at 06:10:05ID: 15021424

You might want to contact Koolspan.  They make an encrytion/vpn device that works quite well for this.

 

by: Hamed53Posted on 2005-10-05 at 06:33:56ID: 15021615

Hi,

Thanks for your posts... we decided to do this with cisco...

We used 3640 in one end (C3640-IK8O3S-M), Version 12.2(12) and 3662 on the other end of the link (C3660-JK9O3S-M), Version 12.2(7)...

We ran IPSec with crypto and currently there is major the 3640's CPU ussage! eg for 20 calls (g729) the usage is 60%! anything more than 2 E1s is complete death for that router i beleive. We double checked everything to make sure all uncessary services are disbaled but still the same cpu usage... so that router must be changed!

There are occasionall call disconnects which i still have to debug to see whether its the tunnel or anuthing else!

That brings me to the worst problem which is really bad performance on telnet/http or any such protocols... for example it is impossible for us to view a live debug of a gateway on this tunnel... the connection either times out or there are significant delays on displaying the content!

I guess because voip uses smaller packets it all works on that! I dont think i would be trying VPN with a linux as a dedicated cisco 3640 with 20 calls (g729 around 280k overall) is failing misrably not to mention configuration difficulties that i may have on the linux. I also must use route-map on one end of the link to make the outgoing packets to travel via tunnel so i think that even makes it more difficult on the linux...

Regards
Hamed

 

by: grbladesPosted on 2005-10-05 at 06:39:56ID: 15021654

It could ba a configuration issue on the routers.
Are you using just VPN or are you using a GRE tunnel together with VPN?

I would advise against using GRE as it adds an extra packet overhead which is significant for VoIP traffic, adds extra load on the router, and causes MTU problems which can slow down traffic which uses large packet sizes significantly.

 

by: Hamed53Posted on 2005-10-05 at 06:51:01ID: 15021765

Here are the configs:

version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname UkTunnel
!
no logging buffered
no logging console
no logging monitor
enable secret 5 XXXXXXX
!
ip subnet-zero
ip wccp version 1
ip cef
!
!
no ip domain-lookup
ip domain-name nixtechnologies.com
!
ip audit notify log
ip audit po max-events 100
no crypto isakmp enable
!
!
crypto ipsec transform-set encrypt-sec esp-des
!
crypto map tunell local-address Ethernet1/0
crypto map tunell 8 ipsec-manual
 set peer 81.xx.xx.11
 set session-key inbound esp 1001 cipher 1234abcd1234abcd authenticator 01
 set session-key outbound esp 1000 cipher abcd1234abcd1234 authenticator 01
 set transform-set encrypt-sec
 match address 100
!
call rsvp-sync
!
!
!
!
!
!
!
!
interface Tunnel1
 ip address 10.10.10.1 255.255.255.252
 tunnel source Ethernet1/0
 tunnel destination 81.xx.xx.11
!
interface Ethernet1/0
 description ConnectionToNet
 ip address 82.xx.xx.184 255.255.255.192
 no ip redirects
 ip route-cache policy
 keepalive 3
 full-duplex
 no cdp enable
 crypto map tunell
!
interface Serial1/0
 no ip address
 shutdown
 no cdp enable
!
interface Ethernet1/1
 description ME-LAN
 no ip address
 no ip redirects
 half-duplex
 no cdp enable
!
ip classless
ip route 0.0.0.0 0.0.0.0 82.xx.xx.129
ip route 82.xx.xx.96 255.255.255.224 10.10.10.2
no ip http server
ip pim bidir-enable
!
logging trap debugging
access-list 100 permit gre host 82.xx.xx.184 host 81.xx.xx.11
access-list 100 permit ip host 82.xx.xx.184 host 81.xx.xx.11
access-list 100 permit icmp host 82.xx.xx.184 host 81.xx.xx.11
no cdp run
!

 

by: Hamed53Posted on 2005-10-05 at 06:52:12ID: 15021783

that was only the one in UK... however their are both identical but with otherone has UK's ips and corresponding session key

 

by: grbladesPosted on 2005-10-05 at 07:44:42ID: 15022271

You have the crypto-map applied to the ethernet interface so the VPN is not going over GRE which is good.
You do still have 'Interface Tunnel1' in your configuration though. I would remove this section of the config incase it is causing any problems.

 

by: Hamed53Posted on 2005-10-05 at 08:02:53ID: 15022469

I was under impression that the tunnel1 is making the peering between UK GW and the Other Remote GW... i think removing it will bring the connection down! Am i wrong?

 

by: grbladesPosted on 2005-10-05 at 08:20:14ID: 15022662

On second inspection it appears as though you are using GRE as the tunnel interface is bound to the internal interface.

Who set the routers up for you?
I would advise that they are reconfigured not to use a GRE tunnel.

 

by: Hamed53Posted on 2005-10-05 at 08:46:48ID: 15022944

We configured it here althought we used help from cisco's manuals/website which kinda allways suggested using tunnel for the VPN activity! I am now confused, i dont even know how the packets are going to travel from one GW to the other without that GRE tunnel in place... any hints or suggestions for typical config would be appreciated to explain your method of doing this...

What we are doing here is we have a subnet of public addresses which are routed to the IP address set on ethernet interface of this router, we want to allow the devices in the remote location to use these IPs while being on a secured encalpsulated packets (hidden from the ISP)...

 

by: grbladesPosted on 2005-10-06 at 00:43:19ID: 15028589

You want the remote location to use the IP's on your local routers external interface?
You have lost me here.

You would normally have a basic VPN connection between the sites and each site can access the other sites machines using their own private internal IP address.

 

by: Hamed53Posted on 2005-10-06 at 04:43:16ID: 15029530

Here is what im trying to do:

- i have a subnet 82.xx.66.96/27 which is routed to IP 82.xx.65.184. the IP routing was done in our core IP router connected to ISPP.
- 82.xx.65.184 is configured on interface Ethernet1/0 of the VPN designated gateway in UK (c3640) (local router)
- 81.xx.80.11 is configuired on ethernet 0/0 of router in the other country (remote router)
- all above are public addresses pingable from anywhere.

We want subnet 82.xx.66.96/27 to be used in the remote loaction. For example i set them on a PC (eg 82.xx.66.99) in the remote network, anyone from the public internet net should be able to see that PC!

The main objective is to prevent the ISP in the remote location to see what is exchnage on that link hence we like to do encryption to avoid them sniffing around our ports to identify h323/voip traffic!

So far it works with that config above, but the CPU usages are high, i am guessing maybe thats to do with the encryption done on the system but i dont beleive it can have such high usage! 280k 60%+!

 

by: grbladesPosted on 2005-10-06 at 05:17:33ID: 15029694

Not sure what would be the best way to do it. I have sent an email to lrmoore asking him to have a look.

 

by: Hamed53Posted on 2005-10-07 at 04:44:09ID: 15037594

Last night with 30 calls on the system with 450K bandwidth the CPU usage on the cisco 3640 was 99%.

If the configuration i have is correct and should not be changed, can anyone recommend what hardware i must have inplace of 3640 to handle up to 300 calls? (potential 4.5mb bandwidth) with ipsec/encryption?

 

by: Hamed53Posted on 2005-10-10 at 05:38:57ID: 15051733

anything on this? I am sure you guys have tried something similar to this before! Its simply a Network-to-network (or subnet-to-subnet) VPN with IPsec/encryption....

 

by: grbladesPosted on 2005-10-11 at 01:02:37ID: 15058382

You could email lrmoore and ask him to have a look at your question. He might have missed my email.

 

by: lrmoorePosted on 2005-10-11 at 10:39:51ID: 15062527

Some general comments...
It's working the way you have it using GRE tunnels, but CPU utilization on the 3640 is too high, maxing out around 24 calls leaving even less room to add any QoS configuration..

This document might help you troubleshoot the high cpu utilization.
http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a00800a70f2.shtml

GRE tunnel has an advantage of providing some QoS methods over  the tunnel interface that you can't get with a standard IPSEC only tunnel (dynamic).

The 3640 is end-of-life product. You could get more life out of it with a VPN accelerator daughter card to reduce the CPU utilization.

The 3800 series is the current replacement with better support for VoIP and VPN acceleration, but if you want to support up to 10 times that amount of calls, you might have to go even bigger with something like a 7206VXR

 

by: Hamed53Posted on 2005-10-11 at 10:59:44ID: 15062886

i have been calling quiet a few of our partners they all think the following would do about 6mb of encrypted bandwith over public net. (around the same number of calls we want to handle)

CISCO2821-HSEC/K9      2821 Security Bundle,AIM-VPN-EPII-PLUS,Adv. IP Serv,64F/256D      

are they correct?

Also i get the feeling you confirm our configuration is correct and does not need to be changed?

 

by: lrmoorePosted on 2005-10-11 at 11:15:30ID: 15063121

>you confirm our configuration is correct and does not need to be changed?
I didn't say that. I'm sure that there are some things that could be changed to improve the performance.
You don't need to encrypt traffic over the tunnel. You could drop the encryption altogether and just tunnel using GRE
You don't necessarily need to encrypt the GRE packets, just the IP packets
single Pre-shared keys are easier to process than manual separate inbound/outbound session keys
You could enable some QoS over the GRE tunnels
http://www.cisco.com/en/US/tech/tk543/tk545/technologies_tech_note09186a008017405e.shtml

See this document that puts it all together - GRE, IPSEC and QoS (notice that they don't encrypt the GRE traffic in the match acl)
http://www.cisco.com/en/US/netsol/ns340/ns394/ns171/ns109/networking_solutions_white_paper09186a0080189153.shtml

I would consider the 2821 a very slight improvement over what you already have. It is the next generation 2600 series, but is slightly more powerful than your 3640, but not 10x. The key is in the VPN accelerator included with that bundle . I still think that the 3845 security bundle would be a better choice if you want performance+ security for the long term.

 

by: Hamed53Posted on 2005-10-11 at 16:24:59ID: 15065349

When you mentioned "The key is in the VPN accelerator" does that mean because of the VPN accelerator it can pull of the job for about 4-5Mb encrypted bandwidth?

We would not go over that 4-5mb over long term anyway i have budgetary concerns over the 3845 too we need to invest on two of them for this tunnel, if they the investment is going to be above 5,000 pounts (for both) then i might as well go for satellite bandwidht for this application and ignore the whole tunnel complexities. Thats why we were looking at the 2821 security bundle which was quiet reasonably priced for this application,... althought we dont want to findout it cant pull-off what we are trying to do hence we are now having this conversation...

 

by: lrmoorePosted on 2005-10-11 at 16:40:49ID: 15065399

The 2821 has a less-powerful CPU than your 3640, however with the addition of the VPN accelerator card to offload the encryption processing, it is about equal. One step in between would be the 2851 that will run circles around your 3640 even without the VPN module. The 2851 VPN bundle is half the price of a 3825 VPN bundle, but a little more than the 2821.
If the 2621 price makes the best business investment for you, then it will "probably" be OK for you.
This independent test result shows that it should handle easily up to 6mb fully encrypted..
http://www.cisco.com/application/pdf/en/us/guest/products/ps5854/c1244/cdccont_0900aecd801738a2.pdf

 

by: Hamed53Posted on 2005-10-15 at 11:12:47ID: 15091957

We tried doing this between two linux boxes using openvpn and it has worked so far! its using IPIP link with SSL encryption. However as lrmoore provided the most technical of answers i'll accept his answer. Thanks everyone for participating on this question.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...