Setting ESETS for scanning of POP3 communication

The POP3 communication scanning is performed using esets_pop3 daemon. In the [pop3] section of the ESETS configuration file, set these parameters:

agent_enabled = yes
listen_addr = "192.168.1.10"
listen_port = 8110

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 POP3 requests to esets_pop3. If IP-filtering is being performed by the ipchains administration tool, an appropriate rule is:

ipchains -A INPUT -p tcp -i if0 --dport 110 -j REDIRECT 8110

If IP-filtering is being performed by the iptables administration tool, the rule would be:

iptables -t nat -A PREROUTING -p tcp -i if0 --dport 110 -j REDIRECT --to-ports 8110

On FreeBSD, the rule is as follows:

ipfw add fwd 192.168.1.10,8110 tcp from any to any 110 via if0 in