[sdnog] configure outgoing configuration based on incoming ports

Samir S. Omer samir.saif at sudren.edu.sd
Wed Jun 29 09:59:25 SAST 2016


Hi all 

I'm configuring a Linux CentOS machine with multiple virtual IPs to run a squid service listening on different ports. 
how can I bind requests coming for each port to go through specific IP ? 

for example requests coming to port 8081 to go out with the IP 192.168.1.1 and requests coming through port 8082 goes out with IP 192.168.1.2

incoming -> Squid -> Outgoing
*:8081   -> Squid -> 192.168.1.1:80
*:8082   -> Squid -> 192.168.1.2:80

Regards 
Samir 



More information about the sdnog mailing list