Oops, I see my problem with my explaination. I have a habit of typing 242
because I use that IP more often. In my previous email, the x.x.x.242
should be x.x.x.243. I was consistant with x's being real routable IP
addresses and y's being private IP's.
Internet <---> Director <---> Real server
eth0: x.x.x.254 eth0: 192.168.1.2
eth0:1 x.x.x.243 gateway: 192.168.1.1
eth1 192.168.1.1
I have:
IP Virtual Server version 0.8.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP x.x.x.243:22 lc
-> 192.168.1.2:22 Masq 1 0 0
I don't have anything else in ipvsadm or iptables that makes reference to
eth0:1 (x.x.x.243), but when I ssh (or irc) from 192.168.1.2 to a random
machine on the internet, the IP it shows me the connection from is
x.x.x.243 which is what I want, but is not what I expected. (I expected it
to be from x.x.x.254)
Does that make things clearer?
-james
|