Bug 257552 - Feature Request: IPFW2 add DragonflyBSD's IPFW3 features
Summary: Feature Request: IPFW2 add DragonflyBSD's IPFW3 features
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.2-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ipfw (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-02 08:32 UTC by alfadev
Modified: 2021-08-06 21:39 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alfadev 2021-08-02 08:32:37 UTC
DragonflyBSD's IPFW3 has below pros which are IPFW2 has not

1)Load-balancing
forward-option can be `round-robin' or `sticky'.
Code:

ipfw3 add forward 192.168.1.1:80,192.168.1.2:80 round-robin tcp from ....

Above example can forward the traffic to 2 destination in round-robin.

2)States can be added/deleted using the ipfw3 utility.
Code:

ipfw3 state delete rulenum


3)States can be expire after some time
Code:

ipfw3 state add rule 1000 udp 192.168.1.100:0 8.8.8.8:53 expiry 600

...

Load balancing-PBR( round-robin, sticky) only available on PF but bandwith , captiveportal etc available on IPFW so When i use PF+IPFW same time and Multi WAN + captive portal scenerio. Captive portal not works. After PBR outgoing Packets not entering to IPFW.