Steve Holdoway
2011-04-08 01:09:13 UTC
I've got a bit of a problem with a setup I built for a local charity,
where I set them up with a mail server in a virtual host. Seemed to be a
good security measure at the time.
Setup - all phys/virt servers are all ubuntu 10.04 LTS.
bridging setup on physical server /etc/network/interfaces:
auto br0
iface br0 inet static
address 192.168.x.x
netmask 255.255.255.0
network 192.168.x.0
broadcast 192.168.x.255
gateway 192.168.x.y
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
As it turns out, the bridging is performing NAT on the traffic
travelling between the physical and virtual servers, which effectively
screws up the mailer configuration - making all traffic look local, and
it's ended up as an open relay. Extensive googling and reading of
manuals has not told me how ( or even if ) this Nating can be disabled.
( Mail traffic is port forwarded directly from the firewall dd-wrt ).
Can anyone here shed any light on the matter/inprove on my google foo??
Cheers,
Steve
where I set them up with a mail server in a virtual host. Seemed to be a
good security measure at the time.
Setup - all phys/virt servers are all ubuntu 10.04 LTS.
bridging setup on physical server /etc/network/interfaces:
auto br0
iface br0 inet static
address 192.168.x.x
netmask 255.255.255.0
network 192.168.x.0
broadcast 192.168.x.255
gateway 192.168.x.y
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
As it turns out, the bridging is performing NAT on the traffic
travelling between the physical and virtual servers, which effectively
screws up the mailer configuration - making all traffic look local, and
it's ended up as an open relay. Extensive googling and reading of
manuals has not told me how ( or even if ) this Nating can be disabled.
( Mail traffic is port forwarded directly from the firewall dd-wrt ).
Can anyone here shed any light on the matter/inprove on my google foo??
Cheers,
Steve
--
Steve Holdoway BSc(Hons) MNZCS <***@greengecko.co.nz>
http://www.greengecko.co.nz
MSN: ***@greengecko.co.nz
Skype: sholdowa
Steve Holdoway BSc(Hons) MNZCS <***@greengecko.co.nz>
http://www.greengecko.co.nz
MSN: ***@greengecko.co.nz
Skype: sholdowa