Sure :) I have done it using XDP_REDIRECT. It redirects all the traffic from one port on to other port. There are some helpers like "bpf_redirect" that you can leverage to do the needful.
You could refer to these samples below: https://github.com/torvalds/linux/blob/master/samples/bpf/xdp_redirect_kern.c https://github.com/torvalds/linux/blob/master/samples/bpf/xdp_redirect_user.c Regards, Kanthi On Mon, Oct 15, 2018 at 12:06 PM François <[email protected]> wrote: > > > On Sunday, 14 October 2018, Kanthi P <[email protected]> wrote: > >> Found the solution, please ignore >> >> Thanks! >> > > Please share your solution :) > > >> > > -- > -- > François > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1497): https://lists.iovisor.org/g/iovisor-dev/message/1497 Mute This Topic: https://lists.iovisor.org/mt/27309949/21656 Group Owner: [email protected] Unsubscribe: https://lists.iovisor.org/g/iovisor-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
