Does anyone have a pointer to using the log option with in kernel nat in ipfw?
If I add the log option to the config it is accepted eg
But then I try to look at the log
I get an error message "ipfw: unknown redir mode".
works as expected.
If I try looking at the log without adding it to the config I get the more reasonable error of "ipfw: Error getting nat 1 instance info: No such file or directory"
Apparently my google'foo isn't up to the task of finding an answer.
If I add the log option to the config it is accepted eg
Code:
ipfw nat 1 config \
if igc0 \
same_ports \
unreg_only \
log \
redirect_port tcp alice:ssh ralph:ssh \
redirect_port tcp alice:https ralph:https
But then I try to look at the log
Code:
ipfw nat 1 show log
I get an error message "ipfw: unknown redir mode".
Code:
ipfw nat 1 show config
If I try looking at the log without adding it to the config I get the more reasonable error of "ipfw: Error getting nat 1 instance info: No such file or directory"
Apparently my google'foo isn't up to the task of finding an answer.