Would this work for you?:
Use up arrow to move forward, left and right to steer - you should be able to go in and out of the gates and teleport between them. You can expand this system by adding more portal instances and changing the gate.no and gate.target values. The target variable defines which gate.no you'll jump to. Each gate.no should be unique, but you can have multiple portals pointing to the same target.