Thanks, now I understand.
With that info my forwarding rule works as expected.

Regards
Matthias

On 17.01.16 18:05, bycn82 wrote:
thanks for pointing out this bug, I will check it and fix it

Syntax:
ipfw3 add forward IP1[:port1][,IP2[:port2]]....  [forward option]
[proto] protocol

so please refer to below sample

if I want to forward the traffic to 192.168.128.1 which is originally
sending to 192.168.128.5, then use
ipfw3 add forward 192.168.128.1 tcp to 192.168.128.5

"forward" means "forward to"  that is the reason why i rename it from
"fwd" to "forward"


ZZZzzz, bye



On 17 January 2016 at 23:13, Matthias Play <[email protected]
<mailto:[email protected]>> wrote:

    Hi,

    after adding the following rule to ipfw3 rule set 'ipfw3 show' dumps
    core:

             ipfw3 add forward tcp 192.168.128.5:22
    <http://192.168.128.5:22> to 192.168.128.1:22 <http://192.168.128.1:22>

    Regards
    Matthias


Reply via email to