geopeterwc
Guru
- Joined
- Aug 17, 2010
- Messages
- 385
- Reaction score
- 131
After more than a year with the same external IP address from Comcast, the address changed earlier today. The result, of course, was my iPBX13-13 balked at making connections. Simply accessing "Settings|Asterisk SIP Settings" and clicking the "Detect Network Settings" button resolved this problem. Efficient!
But a couple of cloud servers (on HostedSimply) weren't so simply resolved, as the new address from Comcast was promptly banned by Fail2Ban and IPTABLES! Using Add-IP with the new local address and rebooting the servers restored local service from the cloud servers. Easy enough!
But, I don't want to depend on having to use add-ip and to unban the IP address if a typo or incorrect password on a local device is used to configure a phone or to access the Admin services of the cloud iPBXs.
Reference to the old local IP address is in the /etc/sysconfig/iptables file. Is it enough to just change the old external address to the new address in this file and rebooting the server? Then, all is well until Comcast changes thing again? Are multiple IP addresses permitted in this file, beyond the three that are referenced (server, user, and public)?
/Pete./
But a couple of cloud servers (on HostedSimply) weren't so simply resolved, as the new address from Comcast was promptly banned by Fail2Ban and IPTABLES! Using Add-IP with the new local address and rebooting the servers restored local service from the cloud servers. Easy enough!
But, I don't want to depend on having to use add-ip and to unban the IP address if a typo or incorrect password on a local device is used to configure a phone or to access the Admin services of the cloud iPBXs.
Reference to the old local IP address is in the /etc/sysconfig/iptables file. Is it enough to just change the old external address to the new address in this file and rebooting the server? Then, all is well until Comcast changes thing again? Are multiple IP addresses permitted in this file, beyond the three that are referenced (server, user, and public)?
/Pete./