We have recently set up a new Aterisk pbx server based on our previous pbx (also Asterisk) which was installed by an external company.
We've kept the configuration of the server the same, all we did was add db support to Asterisk, which wasn't implemented by the previous company. It's running on Centos 6.4. The 1st ethernet port split into two vlans, the second vlan being the one on which the phones connect to Asterisk and also receive ip addresses from dhcp.
There is a web portal running on the Asterisk server whereby data can be viewed and also various modifications made to call center agents. This is served up on the first vlan.
However there are some computers that are not on the right ip range to view the portal on the first vlan, but they are in the same range as the phones. Up until we changed to our new updated pbx, they were able to view the portal on the second vlan, but that is no longer possible.
I've added listen rules for the the ip addresses of both vlans in httpd.conf, in the format:
listen xxx.xxx.xxx.xxx:80
listen yyy.yyy.yyy.yyy:80
but it's still not working.
Do I need add a route via the route command? or implement port forwarding? I don't know very much about networking and am more or less learning on the fly at the moment.
Any help would be appreciated.
The result of cat /proc/sys/net/ipv4/ip_forward is '0'
and the result of ip ro sh is:
192.168.244.0/24 dev em2 proto kernel scope link src 192.168.244.250
192.168.12.0/24 via 192.168.20.1 dev em1.20
192.57.4.0/22 dev em1.10 proto kernel scope link src 192.57.7.248
192.168.20.0/22 dev em1.20 proto kernel scope link src 192.168.20.2
169.254.0.0/16 dev em1 scope link metric 1002
169.254.0.0/16 dev em2 scope link metric 1003
169.254.0.0/16 dev em1.10 scope link metric 1016
169.254.0.0/16 dev em1.20 scope link metric 1017