Page 1 of 1

remote access my sever

PostPosted: Tue Sep 25, 2012 5:30 pm
by sofcall
Hi.

i wanna know how can i remotely access my server and to try to connect as an agent in a outbound compaign.

i have a dynamic ip adresse and i already have an account in dyndns website.

what port should i open in my router?and my vicidial server ip adresse is 192.168.1.2.

in the remote computer white accesssing my server will i put the adresse 192.168.1.2 as a domain in a softphone,

Re: remote access my sever

PostPosted: Wed Sep 26, 2012 12:45 pm
by striker
port : 5060 for sip softphone registration
port : 10000 to 20000 ( rtp ports) for voice traffic
port 4569: iax port IF you use iax softphones (if u use iax softphone then no need to open rtp ports)
port 80 : web access
port 22 : ssh access

in remote phone u should use ur dyndns domainname.

Re: remote access my sever

PostPosted: Wed Sep 26, 2012 4:26 pm
by sofcall
Thank you very much.

will try it soon

Re: remote access my sever

PostPosted: Wed Sep 26, 2012 10:32 pm
by williamconley
when you open those ports, be sure you lock it to the IP address of your "agent". if you open it for everyone, you'll be hacked. seriously.

Re: remote access my sever

PostPosted: Wed Mar 20, 2013 1:21 pm
by scenarist
@williamconley
What I need to configure to have possibility to connect sip extension from remote location? I have a static IP address but I can register from remote location only IAX extensions (7xxx) via zoiper(because Zoiper has a support IAX protocol). What if I want to register via sip extension via Xlite ,please could you give me some advises !?

Re: remote access my sever

PostPosted: Wed Mar 20, 2013 1:54 pm
by williamconley
static vs dynamic does not matter. what matters is whether NAT is being used at both ends of the SIP connection. NAT is what is necessary when you have a "Private" IP address. So if you have an IP like "192.168.x.x" at your vicidial location (which is not the actual internet IP address) and the agent has another private IP at their location, then you are "double NATting" which makes SIP impossible without a special router or special configuration.

If you forward port 5060 UDP and port range 10000-25000 UDP through the router at the Vicidial site to the Vicidial server, it may work. But as I said, when you forward ports through your router, you are breaching security protocols and "asking" to be hacked.

Re: remote access my sever

PostPosted: Wed Mar 20, 2013 2:59 pm
by scenarist
I have private ip address 77.238.x.x and on my router I setup ports forwarding (5060/SIP, 4569/IAX, 80/web) from 77.238.x.x to lan ip 192.168.1.2 (goautodial).
I am using Zoiper (because IAX) and from another location I succesfull registered IAX extension.(in Zoiper I setup under server IP my private ip 77.238.x.x).
Agents which are located on another location put in web browser 77.238.x.x and access goautodial.
For security reasons I use iptables firewall and allow only some ip address's access to goautodial and everything else "iptables -s INPUT -j 0/0 DROP"

Re: remote access my sever

PostPosted: Wed Mar 20, 2013 3:12 pm
by williamconley
when you forwarded 5060, was it UDP? and did you forward port range 10000-25000 UDP as well?