You can create a custom TCP/IP stack on a host to forward VMkernel traffic through a custom application.
- Open an SSH connection to the host.
- Log in as the root user.
- Run the following vSphere CLI command:
esxcli network ip netstack add -N="stack_name"
The custom TCP/IP stack is created on the host. You can assign VMkernel adapters to the stack.