Remixed from this design to be attached to a bed frame
https://www.thingiverse.com/thing:4737871
It's also similar to this design if you want to picture kinda how it attaches:
https://www.thingiverse.com/thing:2772694/files
I used double sided mounting foam to attach it firmly, so basically the cable can't come back out once it is attached unless you don't use any adhesive. Probably won't stay very secure without adhesive though.
bedSideCableHolder.stl | 24.5KB |