Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




635 posts

Ultimate Geek
+1 received by user: 32
Inactive user


Topic # 147267 14-Jun-2014 07:01
Send private message

So for fun (ok it wasnt really fun) I put my PIAF Asterisk service in Amazons EC2. Very cool.

I followed the guide here:

http://nerdvittles.com/?p=5060

And I had to open up various ports. 

I want to be able to access my EC2 server from home (ADSL) but also from my mobile over 3G.

Is there a better way to secure the service other than:

1. Strong password
2. Failtoban running

Cheers


-Al


Create new topic
3161 posts

Uber Geek
+1 received by user: 975

Subscriber

  Reply # 1065334 14-Jun-2014 08:47
Send private message

Hmm a bit dodgy I suppose. I guess you could just set your security group rule to only allow traffic on 5060 from 2talk (27.111.14.65 & 27.111.14.66).
And then install a VPN server on it and connect to it that way. Probably the most secure. Otherwise you just have to rely on iptables and failtoban.

2284 posts

Uber Geek
+1 received by user: 650

Trusted
Subscriber

  Reply # 1065419 14-Jun-2014 11:37
Send private message

I would be really interested to hear your experience.  My first guess would be that you may have audio quality issues because of the distance to the PBX (unless your host is in Sydney).

Definitely test your fail2ban setup - perhaps using a softphone from a mobile over 3G and bad authentication details so you don;t lock yourself out accidentally from your terrestrial broadband.

What are your monthly costs going to be with this solution?

Here are the allowed IP's from 2Talk in my PBX.  Some of them may be unnecessary for your purposes.
202.180.76.164/32 Allow [2talk trunk.2talk.co.nz]
202.180.76.182/32 Allow [2talk 2talk.co.nz]
27.111.14.65/32 Allow [2talk sip.2talk.co.nz]
27.111.14.66/32 Allow [2talk peering.2talk.co.nz]




"4 wheels move the body.  2 wheels move the soul."

“Don't believe anything you read on the net. Except this. Well, including this, I suppose.” Douglas Adams

 
 
 
 


3161 posts

Uber Geek
+1 received by user: 975

Subscriber

  Reply # 1065696 14-Jun-2014 19:59
Send private message

Shouldn't need those 202.x.x.x addresses as that is the old platform.

EC2 in Sydney is only around 40ms so I don't think latency should be much of an issue. I would be more concerned with the amount of cpu and ram the micro instances have. Also things like queueing and conference bridge can have varied results in virtual environments.

Just make sure fail2ban only allows a couple of attempts and bans for a looooooong time.

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

From small to medium and beyond: Navigating the ERP battlefield
Posted 21-Nov-2017 21:12


Business owners: ERP software selection starts (and finishes) with you
Posted 21-Nov-2017 21:11


Why I'm not an early adopter
Posted 21-Nov-2017 10:39


Netatmo launches smart home products in New Zealand
Posted 20-Nov-2017 20:06


Huawei Mate 10: Punchy, long battery life, artificial intelligence
Posted 20-Nov-2017 16:30


Propel launch Disney Star Wars Laser Battle Drones
Posted 19-Nov-2017 21:26


UFB killer app: Speed
Posted 17-Nov-2017 17:01


The case for RSS — MacSparky
Posted 13-Nov-2017 14:35


WordPress and Indieweb: Take control of your online presence — 6:30 GridAKL Nov 30
Posted 11-Nov-2017 13:43


Chorus reveals technology upgrade for schools, students
Posted 10-Nov-2017 10:28


Vodafone says Internet of Things (IoT) crucial for digital transformation
Posted 10-Nov-2017 10:06


Police and Facebook launch AMBER Alerts system in NZ
Posted 9-Nov-2017 10:49


Amazon debuts Fire TV Stick Basic Edition in over 100 new countries
Posted 8-Nov-2017 05:34


Vodafone VoIP transition to start this month
Posted 7-Nov-2017 12:33


Spark enhances IoT network capability
Posted 7-Nov-2017 11:33



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.