The VOIDRUNNER'S CODEX is LIVE! Explore new worlds, fight oppressive empires, fend off fearsome aliens, and wield deadly psionics with this comprehensive boxed set expansion for 5E and A5E!
If you have a Cube of Force active and teleport,
1) Would you be able to teleport through the barrier that keeps everything out?
2) Would the barrier travel with you if you kept the cube on your person?
I think the answer is "yes, and yes". The item says it's a "special wall of force" and the spell specifically notes that teleport will go through it. (3.0 rules here)