iptables outgoing adress using an aliased interface
Hi, itīs been several years since i played with iptables. I have setup like this:
eth0 is the only physical device on box and eth0:0 is aliased. Traffic going out of the box to internet uses eth0
eth0 116.55.58.1
eth0:0 116.55.58.2
I have a service listening on port 80 on 116.55.58.2
Lets say my client connect to 116.55.58.2:80 through 116.55.58.1 , how do I force (mangle you name it) with iptables that the outgoing source address will be always 116.55.58.2?
Thanks
|