Hi All,
I have some newbie questions that I’ve tried to work out from the forums already but would appreciate some help. I am trying to make the jump from Windows to Linux for my voip stuff so I hope you’ll be gentle with me !
So, I have a raspberry PI and I downloaded the incredible PI image dated 28th July 2014 that is mentioned in the Nerdvittles article 10151. I am trying to make sure I have this as secure as possible. I will be away from home for extended periods so want to still be able to access it to make changes, etc and so was thinking to open SSH port on my router at home to the PI machine, but having read the warnings about exposing the PI to the internet am worried. I tried to read the articles about travelling man and the different users and passwords, but got a bit lost.
For example there is mention in some articles about using a script called passwd-master to update and align the various different users and passwords, but my pi image doesn’t seem to have that file.
I also read that there is a service called fail2ban to lock out IP addresses that repeatedly fail to login, but I don’t seem to have that either.
So far all I have done is change the root password, the freepbx gui admin user password and the extension 701 password. If I browse the passwd file it seems there is a user called asterisk, but I have no idea what the password for that is. There are also other users like www-data that I am not sure may have known passwords and so would be a risk if I open up the SSH port.
The PIAF newbie tutorial also mentions a webmin section, but again I don’t think I have that, or if I do I am not sure how to access it.
If anyone can help me or point me at the right articles to read I would be very grateful. It probably helps if I outline what I am trying to set up with it.
At the moment I have:
A PSTN line at home in Manchester
A windows XP machine running 3CX free version
A Grandstream GXW410 FXO gateway connected to the PSTN line and via home LAN to 3CX
Some FXS gateways attached to the 3CX via the home LAN
A voiptalk subscription linked to same caller ID as my PSTN line
When someone rings my PSTN number, it rings the phones connected to the FXS gateways.
If I make a calls from home 3CX routes either over voiptalk or via my PSTN line depending on the number called. The person called sees my PSTN caller ID regardless.
I will be spending several weeks at a flat in France and want to set it up so that if someone calls my home, it rings in France as well as at home. I also want to be able to call from France via my PSTN line at home or via the voiptalk number.
I tried this kind of thing in the past when I was working away in London by setting up an external extension at the remote location, but had issues with calls cutting off after a certain time, or one way audio.
I guess what I needed was a 3CX to 3CX link, but that is only available in paid version.
So I am looking to ditch 3CX and also like the idea of using a Pi instead of having to leave a full windows PC running at home. Plus also let’s face it the Pi is just way cooler than a PC. I am also interested in setting up a VPN tunnel from France to Home so that I can still access TV stuff that only works in the UK.
What I think I need to set up this is then:
A Pi at home running Asterisk
A Pi in France running Asterisk
A VPN link between the two
An Asterisk-Asterisk trunk (via the VPN or over the internet?)
What would also be great is if I could make my mobile phone also be able to answer PSTN incoming calls when it has wifi connection either in the France house, or remotely. And to be able to have people call my UK mobile number, but that I can answer on a French mobile without paying roaming charges on the UK mobile.
I know this is a lot of detail, but any help would be great. The biggest thing I guess is how to secure my Pi at home and still be able to access it remotely to change settings on it.
Thanks again for your advice !
I have some newbie questions that I’ve tried to work out from the forums already but would appreciate some help. I am trying to make the jump from Windows to Linux for my voip stuff so I hope you’ll be gentle with me !
So, I have a raspberry PI and I downloaded the incredible PI image dated 28th July 2014 that is mentioned in the Nerdvittles article 10151. I am trying to make sure I have this as secure as possible. I will be away from home for extended periods so want to still be able to access it to make changes, etc and so was thinking to open SSH port on my router at home to the PI machine, but having read the warnings about exposing the PI to the internet am worried. I tried to read the articles about travelling man and the different users and passwords, but got a bit lost.
For example there is mention in some articles about using a script called passwd-master to update and align the various different users and passwords, but my pi image doesn’t seem to have that file.
I also read that there is a service called fail2ban to lock out IP addresses that repeatedly fail to login, but I don’t seem to have that either.
So far all I have done is change the root password, the freepbx gui admin user password and the extension 701 password. If I browse the passwd file it seems there is a user called asterisk, but I have no idea what the password for that is. There are also other users like www-data that I am not sure may have known passwords and so would be a risk if I open up the SSH port.
The PIAF newbie tutorial also mentions a webmin section, but again I don’t think I have that, or if I do I am not sure how to access it.
If anyone can help me or point me at the right articles to read I would be very grateful. It probably helps if I outline what I am trying to set up with it.
At the moment I have:
A PSTN line at home in Manchester
A windows XP machine running 3CX free version
A Grandstream GXW410 FXO gateway connected to the PSTN line and via home LAN to 3CX
Some FXS gateways attached to the 3CX via the home LAN
A voiptalk subscription linked to same caller ID as my PSTN line
When someone rings my PSTN number, it rings the phones connected to the FXS gateways.
If I make a calls from home 3CX routes either over voiptalk or via my PSTN line depending on the number called. The person called sees my PSTN caller ID regardless.
I will be spending several weeks at a flat in France and want to set it up so that if someone calls my home, it rings in France as well as at home. I also want to be able to call from France via my PSTN line at home or via the voiptalk number.
I tried this kind of thing in the past when I was working away in London by setting up an external extension at the remote location, but had issues with calls cutting off after a certain time, or one way audio.
I guess what I needed was a 3CX to 3CX link, but that is only available in paid version.
So I am looking to ditch 3CX and also like the idea of using a Pi instead of having to leave a full windows PC running at home. Plus also let’s face it the Pi is just way cooler than a PC. I am also interested in setting up a VPN tunnel from France to Home so that I can still access TV stuff that only works in the UK.
What I think I need to set up this is then:
A Pi at home running Asterisk
A Pi in France running Asterisk
A VPN link between the two
An Asterisk-Asterisk trunk (via the VPN or over the internet?)
What would also be great is if I could make my mobile phone also be able to answer PSTN incoming calls when it has wifi connection either in the France house, or remotely. And to be able to have people call my UK mobile number, but that I can answer on a French mobile without paying roaming charges on the UK mobile.
I know this is a lot of detail, but any help would be great. The biggest thing I guess is how to secure my Pi at home and still be able to access it remotely to change settings on it.
Thanks again for your advice !