David Campbell wrote:
> I have no problems running QMT when I give it its own public IP address
> but when I try to run one behind a firewall with a local IP address it
> doesn't work unless I disable the firewall, and then of course it all
> goes to shit...
>
> Is there any way to run this thing behind a firewall, and what do I need
> to do to make it do so?
>
> Or do I simply have to look at another solution for running a mail
> server behind a firewall?
>
> Thanks
When you look at the toaster firewall script (firewall.sh), you might notice
near the top the following comment:
## Drop outside packets with local addresses - anti-spoofing measure
In order to access the toaster from a local address, you need to add a line
to that script immediately before the comment above which allows traffic
from your particular local subnet, such as:
iptables -A INPUT -s 192.168.1.0/255.255.255.0 -j ACCEPT
Be sure to specify whatever's appropriate for your local subnet.
That should fix it for you.
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]