SSH port forwarding or OpenVPN for remote access

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

SSH port forwarding or OpenVPN for remote access

Postby olovka » Sun Sep 12, 2010 3:34 pm

Hi all,

I have set up my vicidialnow installation: Linux vici.vicidialnow.org 2.6.18-164.el5.vnow | Asterisk 1.2.30.2 | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation

I want to enable secure remote agent log in and work from remote winXP machines. I have set up SSH port forwarding via putty and work well for all TCP trafic (like access to vicidial agent login page) but I have a problem with tunneling UDP trafic like SIP. Tunneling of UDP traffic is simple not supported by SSH. I can not make my eyebeam phone to work via putty tunnel.

Can you recommend me a solution for this? Should I set up OpenVPN connection or is there a way to set up agent phones in other way? Or using another soft phone?
olovka
 
Posts: 8
Joined: Mon May 05, 2008 4:14 am

Postby williamconley » Mon Sep 13, 2010 4:39 pm

Have you tried IPtables? Very handy.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20257
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby olovka » Tue Sep 14, 2010 3:45 am

williamconley wrote:Have you tried IPtables? Very handy.


Yes. I am just using IPtables to add one off my static IP address and enable SIP for this static IP. But, what to do if agent connect from dynamic IP address?

My vici server (my router) use dyndns to resolve adress.dyndns.org into IP address. I think it is not practical to have remote agent on dyndns.

This server is in testing phase. So, I am open to all suggestion to make it more efficient and easier to use latter in production.
olovka
 
Posts: 8
Joined: Mon May 05, 2008 4:14 am

Postby williamconley » Tue Sep 14, 2010 10:05 am

have you considered trying an actual vpn solution? (on another box, not the vicidial server?)

linux has a whole lot of software available for those willing to "install"
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20257
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby olovka » Thu Sep 16, 2010 5:24 am

williamconley wrote:have you considered trying an actual vpn solution? (on another box, not the vicidial server?)

linux has a whole lot of software available for those willing to "install"


Yes. My first choice was OpenVPN at vici server. I did not install OpenVPN yet because IPtables work fine for now. Since I am single user I can add new rules for every new IP address... :)

For production, I will have to install some kind of VPN. Can you recommend some VPN solutions from you own experience with vicidial? Why on separate box? Compatibility or server load?
olovka
 
Posts: 8
Joined: Mon May 05, 2008 4:14 am

Postby williamconley » Thu Sep 16, 2010 9:57 am

both

compatibility and server load. experimentation with unnecessary software on a vicidial server means that if you have a problem, you have to decide whether that non-standard software is to blame. not necessary if you have a STOCK machine.

server load is always an issue with any software, of course, and the capacity to use a completely separate internet connection without touching the vicidial server is excellent, especially if you later decide to add other solutions (CRM, etc) which do not involve the vicidial system. then you'd stay off the CPU/bandwidth of the vicidial server completely.

also, if your vicidial machine dies you have two issues: was the vpn complicit in the death of the machine? (not a question you have to ask if the vpn wasn't ON the vicidial machine) and now how much fun is it going to be to reinstall vicidial and then the vpn software? (also not an issue if it's on a sep server, since it wouldn't even need to be reinstalled!)

But then creeps in the almighty "Budget" :) (often this makes the final decision for us, right?)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20257
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby olovka » Fri Sep 17, 2010 7:24 am

williamconley wrote:both
But then creeps in the almighty "Budget" :) (often this makes the final decision for us, right?)


That is true! :D So many time repeated situation... :D
For production, I will go on separate box for VPN. This is my own project so I can make decision on budget. :)

Can you recommend VPN? My first choice is OpenVPN. I did not work with linux VPN solutions before...
olovka
 
Posts: 8
Joined: Mon May 05, 2008 4:14 am

Postby williamconley » Fri Sep 17, 2010 7:48 am

Most of our clients use it straight from their routers. From what I understand, though, OpenSUSE has a VPN solution in yast. I'm not sure if Webmin has a module for a VPN solution, but I would expect so. If you are familiar with any of the control panel solutions out there (webmin, yast2), go with what you know. :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20257
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby olovka » Sat Sep 18, 2010 2:02 pm

Thank you for sharing your experience, William.

I am familiar with Cisco VPNs, but this time I go only on open source. Linux and OpenVPN are my choice for now. As soon as I purchase and set up separate box I will post my findings on this topic.

In the meantime, anybody who what to share Vici-VPN experience are welcome to post. :)
olovka
 
Posts: 8
Joined: Mon May 05, 2008 4:14 am

VPN and VD

Postby AlSam » Sun Sep 26, 2010 5:23 pm

olovka, I currently have an Untangle (untangle(dot)com) setup for OpenVPN access to a VD server. I haven't had any trouble with it.
AlSam
 
Posts: 125
Joined: Thu Sep 02, 2010 1:17 pm

We have openvpn too.

Postby idi » Wed Dec 22, 2010 11:16 am

Just was wandering if anyone knows how to config Shoretel VOIP phone/softphone to work trough it.
idi
 
Posts: 1
Joined: Wed Dec 22, 2010 11:14 am

Postby williamconley » Wed Dec 22, 2010 12:22 pm

shoretel phones are locked. is your phone UNlocked? (that's how they get the big bucks ...)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20257
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: Google [Bot] and 104 guests