You can create a custom TCP/IP stack on a host to forward networking traffic through a custom application.
- Open an SSH connection to the host.
- Log in as the root user.
- Run the 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.