two linux need to setup ssh vpn tunnel
linux A need auto start up script with ssh tunnel vpn without password as rsh authentication will save in ssh authentication .
linux b will be same ssh tunnel each tunnel ip share ping and data transfer traffic .all need auto shell script or connect throw php script.
but remember it is not forwarding it is simple vpn tunnel as ssh server base
without unknow please don't apply job