This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
voice:pbx:piaf [2011/11/26 20:26] gcooper |
voice:pbx:piaf [2016/08/18 13:02] (current) gcooper |
||
---|---|---|---|
Line 15: | Line 15: | ||
[[voice: | [[voice: | ||
- | ===== Help ===== | + | ===== Resources |
< | < | ||
help-pbx | help-pbx | ||
</ | </ | ||
+ | |||
+ | **PBX in a Flash for Newbies**: http:// | ||
+ | |||
+ | **PiaF without Tears**: http:// | ||
+ | |||
+ | **Ringdale PBX Administrator' | ||
===== Networking ===== | ===== Networking ===== | ||
- | ==== Bridged | + | ==== Firewall |
- | If you choose a Bridged network where an IP comes from your DHCP server, you'll need to add a file: / | + | === Trusted Networks Method === |
- | Make it look like this: | + | |
- | DEVICE=eth0 | + | This configuration blocks most everything from everywhere, then allows trusted IP subnets. |
- | BOOTPROTO=dhcp | + | |
- | DHCPCLASS= | + | |
- | ONBOOT=yes | + | |
- | In addition, there is a problem with / | + | Edit '' |
- | NETWORKING=" | + | To remove access to dangerous ports, change: |
- | NETWORKING_IPV6=no | + | |
- | HOSTNAME=" | + | |
+ | < | ||
+ | -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT | ||
+ | -A INPUT -p tcp -m tcp --dport 113 -j ACCEPT | ||
+ | -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT | ||
+ | -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT | ||
+ | -A INPUT -p tcp -m tcp --dport 21 -j ACCEPT | ||
+ | -A INPUT -p tcp -m tcp --dport 9001 -j ACCEPT | ||
+ | -A INPUT -p tcp -m tcp --dport 9080 -j ACCEPT | ||
+ | -A INPUT -p udp -m udp --dport 4569 -j ACCEPT | ||
+ | -A INPUT -p udp -m udp --dport 5000:5082 -j ACCEPT | ||
+ | -A INPUT -p udp -m udp --dport 10000:20000 -j ACCEPT | ||
+ | -A INPUT -p tcp -m tcp --dport 4445 -j ACCEPT | ||
+ | -A INPUT -p tcp -m tcp --dport 5038 -j ACCEPT | ||
+ | </ | ||
- | Then service | + | to this: |
+ | |||
+ | < | ||
+ | #-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT | ||
+ | #-A INPUT -p tcp -m tcp --dport 113 -j ACCEPT | ||
+ | #-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT | ||
+ | #-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT | ||
+ | #-A INPUT -p tcp -m tcp --dport 21 -j ACCEPT | ||
+ | #-A INPUT -p tcp -m tcp --dport 9001 -j ACCEPT | ||
+ | #-A INPUT -p tcp -m tcp --dport 9080 -j ACCEPT | ||
+ | #-A INPUT -p udp -m udp --dport 4569 -j ACCEPT | ||
+ | #-A INPUT -p udp -m udp --dport 5000:5082 -j ACCEPT | ||
+ | #-A INPUT -p udp -m udp --dport 10000:20000 -j ACCEPT | ||
+ | #-A INPUT -p tcp -m tcp --dport 4445 -j ACCEPT | ||
+ | #-A INPUT -p tcp -m tcp --dport 5038 -j ACCEPT | ||
+ | </ | ||
+ | |||
+ | To add WhiteList IP addresses for sites from which you need access to the server for admin or phones, find the section of the file that looks like this: | ||
+ | |||
+ | < | ||
+ | -A INPUT -s 192.168.0.0/ | ||
+ | -A INPUT -s 172.16.0.0/ | ||
+ | -A INPUT -s 10.0.0.0/ | ||
+ | -A INPUT -s 127.0.0.0/ | ||
+ | </ | ||
+ | |||
+ | Add entries just below the existing series that look like this using your actual IP addresses: | ||
+ | |||
+ | < | ||
+ | -A INPUT -s 111.222.111.222 -j ACCEPT | ||
+ | </ | ||
+ | |||
+ | === Checklist === | ||
+ | |||
+ | - Be sure you have added a WhiteList entry for the IP address you're using to access your server, or you will lock yourself out! | ||
+ | - Restart your firewall to load the new settings: | ||
+ | * '' | ||
+ | - Verify that your new settings are working and are what you expected to see: | ||
+ | * '' | ||
+ | - Attempt to access your virtual machine' | ||
===== Installation ===== | ===== Installation ===== | ||
Line 48: | Line 101: | ||
Log in as root: | Log in as root: | ||
+ | < | ||
genzaptelconf | genzaptelconf | ||
Line 60: | Line 114: | ||
passwd-master | passwd-master | ||
+ | </ | ||
- | ([[FreePBX]] default login with user ' | + | FreePBX default login with user ' |
Other passwords can be set in your system with these commands: | Other passwords can be set in your system with these commands: | ||
- | passwd... reset your root user password | + | |'' |
- | passwd-maint... reset your [[FreePBX]] maint password | + | |'' |
- | passwd-wwwadmin... for users needing FOP and MeetMe access | + | |'' |
- | passwd-meetme... for users needing only MeetMe access | + | |'' |
- | passwd-[[webmin]]... for users needing | + | |'' |
- | + | ||
**E-Mail Message Delivery** | **E-Mail Message Delivery** | ||
+ | < | ||
nano -w /etc/hosts | nano -w /etc/hosts | ||
127.0.0.1 | 127.0.0.1 | ||
+ | </ | ||
+ | < | ||
nano -w / | nano -w / | ||
serveremail=voicemail@pbx.dyndns.org | serveremail=voicemail@pbx.dyndns.org | ||
+ | </ | ||
+ | < | ||
service network restart | service network restart | ||
amportal restart | amportal restart | ||
- | echo "[[test]]" | mail -s testmessage yourname@gmail.com | + | echo " |
- | #setup-mail | + | setup-mail |
+ | </ | ||
**Centos Updates** | **Centos Updates** | ||
Line 96: | Line 155: | ||
**PiaF Updates** | **PiaF Updates** | ||
+ | < | ||
update-source | update-source | ||
- | + | </ | |
- | Last changed (in Tomboy): 2011-05-13 | + | |
- | Note created (in Tomboy): 2009-10-22 | + | |