Routing outbound web traffic
Posted: Sat Jul 29, 2017 8:26 am
Hi there,
Am unsure if my question is Vesta related or not, however I thought I'll try my luck here.
Is there any way I can route all outbound traffic through a different network interface?
I've got two network interface, each with two static IPs
eth0 (192.168.1.4) and eth0:1 (192.168.1.5)
eth1 (192.168.2.4) and eth1:1 (192.168.2.5)
I have added all the IPs in Vesta admin panel and a web app is active with the static IP eth0. Is it possible to have all incoming traffic through eth0 and all outgoing traffic through eth1 or may be eth0:1
Alternatively, if there is a way to make the website/virtualhost listen on all IPs, then I can use firewall to block incoming and outgoing on respective IPs.
Using CentOS 7.
Any help will be appreciated. Apologies if this is not the right place to query this.
Am unsure if my question is Vesta related or not, however I thought I'll try my luck here.
Is there any way I can route all outbound traffic through a different network interface?
I've got two network interface, each with two static IPs
eth0 (192.168.1.4) and eth0:1 (192.168.1.5)
eth1 (192.168.2.4) and eth1:1 (192.168.2.5)
I have added all the IPs in Vesta admin panel and a web app is active with the static IP eth0. Is it possible to have all incoming traffic through eth0 and all outgoing traffic through eth1 or may be eth0:1
Alternatively, if there is a way to make the website/virtualhost listen on all IPs, then I can use firewall to block incoming and outgoing on respective IPs.
Using CentOS 7.
Any help will be appreciated. Apologies if this is not the right place to query this.