VOIP:
1. Asterisk 11.X (SVN version)
2. Asterisk GUI
3. Support USB 3G Dongle with SMS and Voice (Dongle must be compatible voice activated/enabled)
4. Provide Fax support via IAXModem + Hylafax
5. Web based SMS client to send SMS (English SMS only)
6. Mail tools to send received SMS via Google Mail SMTP or your preferred ISP Mail server (note: some ISP may block the use of port 25 if user wants to use own SMTP server)
Other Server and Important Functions
1. VPN
- SSTP, IPSec, OpenVPN provided by Softether VPN (2014/01/04)
- PPTP server
2. Remote destop via
- VNC server
- xRDP server using Windows Remote Desktop
3. Network filing
- CIFS Samba client and server
- NFS client and server
- FTP by proftpd
4. MySQL database server
- phpmyadmin
5. Webmin for GUI server management including
- Printing support - PDF, Airprint
- Backup and email important configuration files
6. Airdrop support
The Asterisk server has been compiled with most common options and has almost all modules available. However, the configuration files are changed to a simpler and cleaner version. All the default configuration files are moved to other directory for backup (/etc/asterisk.samples/)
By default, Asterisk GUI Management IP is http://your_raspberrypi:8088/
Login with admin/raspberrypi
To make change to use your supported dongle, you need to change the telephone number is 3 files
1. dongle.conf
2. dongle_extensions.conf
3. extensions.conf
Find the text +85291234567 to your phone associated with the SIM
Remember to restart the Asterisk service.
2. For outgoing SMS, go to /var/www/mySMS directory
update the value of phone number your own number in the line of index.php
<option value="dongle0">SIMS 0 - 91234567</option>
Login in via your browser to http://raspberrypi-ip/mySMS/
username: smsuser
password: raspberrypi
Softether VPN is installed by default and started when Raspberry Pi is up. All you need is to open the appropriate TCP/UDP ports of your router for VPN connections (SSTP, OpenVPN, IPSec). PPTP will be discussed in next thread.
To manage the Softether VPN server, you need to install the Softether VPN server admin tools for Windows.
At the linux command line, 2 commands are available
- "service VPN status" to check whether the VPN server is running
- "service vpnserver restart" to restart the VPN service.
PPTP is also installed and enabled by default. What you need to do is to change and add your user and password
The file to edit is /etc/ppp/chap-secrets with the content below
# Secrets for authentication using CHAP
# client server secret IP addresses
user * strong_password *
複製代碼
After editing, a restart of the pptpd service is required.作者: ckleea 時間: 2013-12-14 20:14
本帖最後由 ckleea 於 2014-1-12 16:42 編輯
設定 遠程連接
By default, SSH should not be enabled for remote access outside your LAN. The Raspberry Pi image has installed VNC server and RDP service. Both are enabled at boot time.
1. VNC
The default login is using your favourite VNC client point to the RPi server IP and when prompt for the password, it is "raspberrypi"
You should be the X Windows GUI screen/
因為吾夠ip,所以個 Raspberry Pi 一定要放響個 router 後面。發現 log in 到個 pptp,但 log in 後就行吾到。有人話 log in 果時的確係用 port 1723,但 log in 後用既 port 就 random 既。我既問題係需吾需要響個 router forward 多D port 俾個 Raspberry Pi,如果要,又應該 forward 邊 D port?但總吾可能所有 port 都 forward 曬俾部 Raspberry Pi 架!作者: ckleea 時間: 2015-4-30 19:55
To enable VPN tunnels between individual host computers or entire networks that have a firewall between them, you must open the following ports:
PPTP
To allow PPTP tunnel maintenance traffic, open TCP 1723.
To allow PPTP tunneled data to pass through router, open Protocol ID 47.
L2TP over IPSec
To allow Internet Key Exchange (IKE), open UDP 500.
To allow IPSec Network Address Translation (NAT-T) open UDP 5500.
To allow L2TP traffic, open UDP 1701.作者: milanolarry 時間: 2015-5-1 12:49
many thanks作者: ckleea 時間: 2015-5-12 07:18
注意: Debian 8 Jessis has been released in 25 April.
Please do not update your raspberry image by apt-get dist-upgrade. It may break your present configuration.作者: milanolarry 時間: 2015-5-17 13:49