Start with sshuttle -r
to sepcify the remote NAT/bastion/VPN host you'll want to tunnel through.
Then specify the subnet you'll want to use pass traffic to through the remote server. If you want to forward all traffic, use 0.0.0.0/0
or for a specific subnet (ie. like the subnet that the bastion can actually reach) just specify the block.
Finally -v
is used for verbose output. Otherwise, it will run as a daemon.
sshuttle -r $REMOTE_USER@$REMOTE_SERVER $SUBNET_TO_FORWORD -v