fitzy89
New Member
- Joined
- Sep 29, 2014
- Messages
- 6
- Reaction score
- 0
I'm experiencing a strange issue here and I'm not too sure what the cause is.
I am running Piaf Green and completed the initial installation on a DHCP-assigned IP. Due to router limitations, I cannot assign the IP that I want the server to use from the router end (router being replaced with pfsense box soon...) so for now I have tried to change the server IP address via Webmin under network interfaces.
Once the IP address is set to static via Webmin, the server no longer has internet access so cannot update modules or run any other function that requires internet access. I have checked the DNS settings, tried disabling iptables and everything else I can think of with still no joy. Internal LAN networking is fine, it just cannot contact the outside world at all. If I change the IP back to DHCP, it works fine again but when assigned a static IP I just can't get it to work.
I have checked the desired IP address is not in use already (it's not), the gateway, subnet and DNS are all exactly the same as what DHCP would assign anyway so my only other thought is the firewall. Disabling iptables has no effect, and the router in use does not block any outbound connections (it's just a cheap ISP-supplied router until I get a hardware firewall setup).
Pinging any external host name or IP fails with a time out, pinging internal hostnames and IPs works fine.
Can anyone suggest anything to test or try?
Edit: If it makes any difference or may indicate where the problem lies, I cannot get my phones to register to the server whether it is on DHCP or static, all phones/softphones report a 403 forbidden error when trying to register and the server logs indicate a bad secret (it's copied and pasted exactly from the web config to the phone web interface so can't see how it could be wrong..)
I am running Piaf Green and completed the initial installation on a DHCP-assigned IP. Due to router limitations, I cannot assign the IP that I want the server to use from the router end (router being replaced with pfsense box soon...) so for now I have tried to change the server IP address via Webmin under network interfaces.
Once the IP address is set to static via Webmin, the server no longer has internet access so cannot update modules or run any other function that requires internet access. I have checked the DNS settings, tried disabling iptables and everything else I can think of with still no joy. Internal LAN networking is fine, it just cannot contact the outside world at all. If I change the IP back to DHCP, it works fine again but when assigned a static IP I just can't get it to work.
I have checked the desired IP address is not in use already (it's not), the gateway, subnet and DNS are all exactly the same as what DHCP would assign anyway so my only other thought is the firewall. Disabling iptables has no effect, and the router in use does not block any outbound connections (it's just a cheap ISP-supplied router until I get a hardware firewall setup).
Pinging any external host name or IP fails with a time out, pinging internal hostnames and IPs works fine.
Can anyone suggest anything to test or try?
Edit: If it makes any difference or may indicate where the problem lies, I cannot get my phones to register to the server whether it is on DHCP or static, all phones/softphones report a 403 forbidden error when trying to register and the server logs indicate a bad secret (it's copied and pasted exactly from the web config to the phone web interface so can't see how it could be wrong..)