ipfw add fwd 192.168.1.10,8110 tcp from any to any 110 via if0 in
On NetBSD and Solaris:
echo 'rdr if0 0.0.0.0/0 port 110 -> 192.168.1.10 \
port 8110 tcp' | ipnat -f -
A.9. Setting ESETS for scanning of IMAP communication
The IMAP communication scanning is performed using the esets_imap daemon. In the [imap]
section of the ESETS configuration file, set these parameters:
agent_enabled = yes
listen_addr = "192.168.1.10"
listen_port = 8143
where 'listen_addr' is the address of the local network interface named if0. Then restart the
ESETS daemon. The next step is to redirect all IMAP requests to esets_imap. If IP-filtering is being
performed by the ipchains administration tool an appropriate rule would be:
ipchains -A INPUT -p tcp -i if0 --dport 143 -j REDIRECT 8143
If IP-filtering is being performed by the iptables administration tool, the rule is:
iptables -t nat -A PREROUTING -p tcp -i if0 \
--dport 143 -j REDIRECT --to-ports 8143
On FreeBSD, the rule is as follows:
ipfw add fwd 192.168.1.10,8143 tcp from any to any 143 via if0 in
On NetBSD and Solaris:
echo 'rdr if0 0.0.0.0/0 port 143 -> 192.168.1.10 \
port 8143 tcp' | ipnat -f -
Appendix A. ESETS setup process description
43
Need help?
Do you have a question about the MAIL SECURITY - ANNEXE 209 and is the answer not in the manual?
Questions and answers