Hello!
enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether xx:xx:xx:xx:xx:17 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.4/24 brd 192.168.1.255 scope global noprefixroute enp4s0
inet 192.168.1.100/24 brd 192.168.1.255 scope global secondary enp4s0
I have 2 white external IPs, 2 websites, two virtual servers are already working with different external IPs
enp4s0 - 192.168.1.4 - external – 1.1.1.1
enp4s0:0 - 192.168.1.100 - external – 2.2.2.2
I run Cron Jobs from any user, for example:
exec( ‘curl http://ipecho.net/plain; echo’ );
I get the same external ip 1.1.1.1 with different users
Is it possible to have different external IPs when running Cron Jobs from a virtual server user?