hiĀ  everyone

#========================================================
# internal interface
INT_IFACE = "em0"
# external wan interface
EXT_IFACE = "bge0"
# wireless interface
WIRE_IFACE = "em1"
# openvpn interface
VPN_IFACE = "tun0"
LO_IFACE = "lo"
LO_ADDR_INET4 = "127.0.0.1"
LO_ADDR_INET6 = "::1"
pass in quick inet log on !$EXT_IFACE $ATCP to port ftp divert-to
$LO_ADDR_INET4 port 8021
pass in quick inet6 log on !$EXT_IFACE $ATCP to port ftp divert-to
$LO_ADDR_INET6 port 8021
pass out proto tcp from $proxy to any port ftp
#========================================================

if i use !$EXT_IFACE in th pass line will the proxy work for
INT_IFACE,WIRE_IFACE and VPN_IFACE ?
could i merge the two divert lines if i remove inet and inet6 and
replaced LO_ADDR_INET4 and LO_ADDR_INET6 with LO_IFACE ?

shadrock

Reply via email to