Results 1 to 1 of 1
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-16-2010 #1Just Joined!
- Join Date
- Oct 2010
- Posts
- 10
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


Reply With Quote
