NAT - Outbound IP's still apearing as private class - NEED SOME HELP
Mark Hutchinson <[email protected]>
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
I am trying to use 2 directors and 4 real mail servers behind them.
All seems to work fine on ports 25, 110, 143 using NAT except that the out bound
mail is being sent with private class IP's so it is being rejected.
eg. (mail from 192.168.0.4)
Here is my lvs.conf below. ( a sniped version )
Any help would be greatly appreciated!
serial_no = 177
primary = 209.177.177.20
service = lvs
rsh_command = ssh
backup_active = 1
backup = 209.177.177.21
heartbeat = 1
heartbeat_port = 1050
keepalive = 6
deadtime = 18
network = nat
nat_router = 192.168.0.100 eth1:1
reservation_conflict_action = preempt
debug_level = NONE
virtual SMTP-196 {
active = 1
address = 209.177.177.196 eth0:1
port = 25
persistent = 360
load_monitor = none
scheduler = wlc
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 0
server smtp2 {
address = 192.168.0.4
active = 1
weight = 1
}
server smtp3 {
address = 192.168.0.5
active = 1
weight = 1
}
server smtp4 {
address = 192.168.0.6
active = 1
weight = 1
}
}
virtual POP-196 {
active = 1
address = 209.177.177.196 eth0:1
port = 110
persistent = 360
load_monitor = none
scheduler = wlc
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 0
server pop2 {
address = 192.168.0.4
active = 1
weight = 1
}
server pop3 {
address = 192.168.0.5
active = 1
weight = 1
}
server pop4 {
address = 192.168.0.6
active = 1
weight = 1
}
}
virtual IMAP-196 {
active = 1
address = 209.177.177.196 eth0:1
port = 143
persistent = 360
load_monitor = none
scheduler = wlc
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 0
server imap2 {
address = 192.168.0.4
active = 1
weight = 1
}
server imap3 {
address = 192.168.0.5
active = 1
weight = 1
}
server imap4 {
address = 192.168.0.6
active = 1
weight = 1
}
}
virtual SMTP-195 {
active = 1
address = 209.177.177.195 eth0:2
port = 25
persistent = 360
load_monitor = none
scheduler = wlc
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 0
server SMTP2 {
address = 192.168.0.4
active = 1
weight = 1
}
server SMTP3 {
address = 192.168.0.5
active = 1
weight = 1
}
server SMTP4 {
address = 192.168.0.6
active = 1
weight = 1
}
}
virtual POP-195 {
active = 1
address = 209.177.177.195 eth0:2
port = 110
persistent = 360
load_monitor = none
scheduler = wlc
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 0
server pop2 {
address = 192.168.0.4
active = 1
weight = 1
}
server pop3 {
address = 192.168.0.5
active = 1
weight = 1
}
server pop4 {
address = 192.168.0.6
active = 1
weight = 1
}
}
virtual IMAP-195 {
active = 1
address = 209.177.177.195 eth0:2
port = 143
persistent = 360
load_monitor = none
scheduler = wlc
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 0
server imap2 {
address = 192.168.0.4
active = 1
weight = 1
}
server imap3 {
address = 192.168.0.5
active = 1
weight = 1
}
server imap4 {
address = 192.168.0.6
active = 1
weight = 1
}
}
virtual SMTP-194 {
active = 1
address = 209.177.177.194 eth0:3
port = 25
persistent = 360
load_monitor = none
scheduler = wlc
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 0
server SMTP2 {
address = 192.168.0.4
active = 1
weight = 1
}
server SMTP3 {
address = 192.168.0.5
active = 1
weight = 1
}
server SMTP4 {
address = 192.168.0.6
active = 1
SNIP end.................