F-Secure Internet Gatekeeper for Linux/Administrator’s Guide
51
•
Use the "
Edit NAT (iptables) redirect settings". To do this, click
Edit NAT (iptables)
redirect settings
.
•
Use the iptables command from the command line to specify the setting as follows. (The
example shows the port number being set to 9110.)
#
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 110 ¥
-j REDIRECT --to-port 9110
For more information, see “
Transparent Proxy
”, 108.
Edit NAT (iptables) redirect settings
NAT
Specifies the NAT redirection settings. If you select the
POP redirect
checkbox, all
connections for port 110 are redirected to the POP proxy (port 9110).