port forward to MS Exchange IMAP
I'm trying to open a hole in my firewall so that a
user can pick up his IMAP email (actually the owner).
I'm trying to use ipmasqadm mfw to do the job like this:
# ipchains -A input -p tcp -y -d 220.127.116.11/32 143 -m 1
# ipchains -A input -p tcp -s 0/0 -d 18.104.22.168/32 143 -j ACCEPT
# ipchains -A input ! -y -p tcp -s 0/0 -d 22.214.171.124/32 -j ACCEPT
<other stuff snipped>
# ipchains -P input DENY
# ipchains -A forward -d 10.0.0.0/24 -s 10.0.0.0/24 -j ACCEPT
# ipchains -A forward -d 126.96.36.199/29 -s 0/0 -j ACCEPT# ipchains -A
forward -d 0/0 -s 10.0.0.0/24 -j MASQ
# ipchains -P forward DENY
# ipchains -P ACCEPT
# ipmasqadm mfw -I -m 1 -r 10.0.0.2 143
When I try to telnet from the outside to port 143 the cursor
sits there, and I see no reponse. The IMAP server at 10.0.0.2
can be reached from the firewall. NO LOG ENTRIES in
/var/log/messages or any other log I can find.
I'm pretty sure I compiled with the right options set. At least
I didn't find anything in the IP-Masq HOWTO that had to be set
that wasn't set. I haven't found anything in a Google search
that helps either.
Right now, I'm a bit stuck