How to add a NAT policy?
lqVincent opened this issue · 2 comments
lqVincent commented
For example:
f-stack-0 addr is 10.10.10.1;
f-stack-1 addr is 20.20.20.1;
I want:
any -> 10.10.10.1:portN, forward to 20.20.20.100:portN,
how to make configure?
Thanks.
jfb8856606 commented
You can enable FF_NETGRAPH=1
and FF_IPFW=1
in lib/Makefile
, and rebulid F-Stack lib and App.
And sen you can use ff_ipfw
to set some policy, see here.
lqVincent commented
@jfb8856606
Sure, thank you very much. It seems that I still need some knowledge about FreeBSD.