Hi,
I am looking to build an app where incoming/outgoing traffic to certain ports/ip addresses on a mac can be redirected to another machine. I understand that I can filter traffic using the content filter NE apis based on the port/ip address. However,the content filter apis only allow to either block or accept the packets whereas I want to redirect them instead of dropping them.Is it possible to do this ?
In linux i can do this using iptables nfqueue functionality very easily. Is there any alternative which provides such functionality in mac osx?
Any help in this regard is appreciated.