I am using OpenBSD 4.0 and I am counting bytes with labels for most
protocols but with ftp-proxy I do not know how to proceed. How can I
do this? These are the rules I have in pf.conf:
nat-anchor "ftp-proxy/*"
rdr-anchor "ftp-proxy/*"
rdr pass on $INT \
inet proto tcp \
from any \
to any port ftp \
-> 127.0.0.1 port 8021
anchor "ftp-proxy/*"
pass out on $EXT \
inet proto tcp \
from ($EXT) \
to any port 21 \
keep state
I can add a label for port 21 but how do I track the data ports?
Thank you very much for any help in this matter.
Juan
Ask a question on any topic and get answers from real people. Go to
Yahoo! Answers and share what you know at http://ca.answers.yahoo.com