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
3273 posts

Uber Geek
+1 received by user: 1057

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.

2330 posts

Uber Geek
+1 received by user: 682

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

 
 
 
 


3273 posts

Uber Geek
+1 received by user: 1057

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 »

Fujifilm X beats its best with new top of the range, high-performance camera
Posted 24-Feb-2018 14:05


One million kiwis affected by cybercrime
Posted 24-Feb-2018 13:58


New Zealanders want to engage with government online and via mobile apps
Posted 24-Feb-2018 13:56


Samsung launches Samsung Max
Posted 24-Feb-2018 13:52


CPTPP text and National Interest Analysis released for public scrutiny
Posted 21-Feb-2018 19:43


Foodstuffs to trial digitised shopping trolleys
Posted 21-Feb-2018 18:27


2018: The year of zero-login, smart cars & the biometrics of things
Posted 21-Feb-2018 18:25


Intel reimagines data centre storage with new 3D NAND SSDs
Posted 16-Feb-2018 15:21


Ground-breaking business programme begins in Hamilton
Posted 16-Feb-2018 10:18


Government to continue search for first Chief Technology Officer
Posted 12-Feb-2018 20:30


Time to take Appleā€™s iPad Pro seriously
Posted 12-Feb-2018 16:54


New Fujifilm X-A5 brings selfie features to mirrorless camera
Posted 9-Feb-2018 09:12


D-Link ANZ expands connected smart home with new HD Wi-Fi cameras
Posted 9-Feb-2018 09:01


Dragon Professional for Mac V6: Near perfect dictation
Posted 9-Feb-2018 08:26


OPPO announces R11s with claims to be the picture perfect smartphone
Posted 2-Feb-2018 13:28



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.