I have a VPS with multiple IPs assigned. In this VPS I run some programs that make requests on the network and, for some reason, all the requests use one specific IPv4 of my VPS.
However I have many other IPv4 and IPv6 and they are never used. Is is possible to make certain programs use specific IPs? Maybe, some rule in firewalld that makes a program use specific IP? My eth0 uses default configuration of my VPS (Linode) and it works fine, I can see all the IPs assigned to my VPS. However, only one specific IPv4 is being used on outbound traffic from all my programs.
Any idea how I can accomplish that?
ifconfig
andip route show