cli: add forwarding option