Answer the question
In order to leave comments, you need to log in
CentOS7 with Asterisk, how to see eth2 network through eth1?
Hello!
There is a server (PBX) CentOS7/Asterisk/Elastix.
two interfaces: eth1 (10.20.10.1) and eth2 (10.20.30.1)
Task:
Connect to SMG (10.20.30.50) via CentOS (10.20.10.1/30) from network 10.10.10.0/24.
And get rid of the direct connection with Mikrota (see the red line on the diagram)
How to do it without particularly affecting the settings.
To some, the question may seem too simple, unfortunately, I have no experience with CentOS.
Scheme:
Answer the question
In order to leave comments, you need to log in
This does not apply to centos as such, it is a matter of networking and routing.
Using the application server as a gateway for networks is a so-so idea.
But if you really want
vim /etc/sysctl.conf
net.ipv4.ip_forward = 1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question