# Unable to access encrypted external storage

**URL:** <https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974>\
**Category:** Router\
**Created:** [December 9, 2023, 7:10am UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974 "2023-12-09T07:10:34Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![velvetblueeyes](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/v/b4bc9f/32.png) [@velvetblueeyes](https://forum.gl-inet.com/u/velvetblueeyes)\
**Post date:** [December 9, 2023, 7:10am UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/1 "2023-12-09T07:10:34Z")

</div>

I’m using a GL.inet GL-AXT1800 router with openwrt.  
I have an encrypted drive I’d like to plug in and access.  
How do I unlock the LUKS key? There’s no pop-up or menu for this, only a “user” passkey which has nothing to do with the drive.  
I can see the drive fine and I can access other unencrypted drives fine.  
Please help.

---

<div class="post-metadata">

**Author:** ![admon](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/admon/32/32880_2.png) [@admon](https://forum.gl-inet.com/u/admon)\
**Post date:** [December 9, 2023, 7:15am UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/2 "2023-12-09T07:15:59Z")

</div>

Hey there 👋

since accessing encrypted drives on a router isn’t pretty common I would assume you need to go through manual configuration using _luci_ or SSH.

> **[Disk Encryption](https://openwrt.org/docs/guide-user/storage/disk.encryption)**
>
> Disk Encryption You may want to encrypt your external disk to improve privacy (in case other people have physical access to your router) or so that you can securely reuse the disk later for another purpose if it's flash (see SSDs prove difficult to...

Might help.

---

<div class="post-metadata">

**Author:** ![velvetblueeyes](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/v/b4bc9f/32.png) [@velvetblueeyes](https://forum.gl-inet.com/u/velvetblueeyes)\
**Post date:** [December 9, 2023, 7:20am UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/3 "2023-12-09T07:20:31Z")

</div>

Thank you for that link, I already had it open. This page talks about encrypting a drive…mine is already encrypted, I just need a way to access the LUKS key already present and I don’t see a way to do that within the router menu. If I need to tunnel in with ssh or something, I need a guide for that because I have no idea how.

---

<div class="post-metadata">

**Author:** ![admon](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/admon/32/32880_2.png) [@admon](https://forum.gl-inet.com/u/admon)\
**Post date:** [December 9, 2023, 7:22am UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/4 "2023-12-09T07:22:14Z")

</div>

A few lines later the article will talk about decrypting and how to automate it.

Search for

> The following script can be used to automate decrypting

---

<div class="post-metadata">

**Author:** ![velvetblueeyes](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/v/b4bc9f/32.png) [@velvetblueeyes](https://forum.gl-inet.com/u/velvetblueeyes)\
**Post date:** [December 9, 2023, 7:25am UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/5 "2023-12-09T07:25:17Z")

</div>

Am I supposed to do this on the router somehow or via terminal on my pc?

---

<div class="post-metadata">

**Author:** ![admon](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/admon/32/32880_2.png) [@admon](https://forum.gl-inet.com/u/admon)\
**Post date:** [December 9, 2023, 7:28am UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/6 "2023-12-09T07:28:37Z")

</div>

On the router using SSH.

It will be tricky, it will be dangerous … but that’s what you get when you want to use it. 😉

You should, maybe, test it with a LUKS device without important data.

@bring.fringe18 How would you do it?

---

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [December 9, 2023, 2:04pm UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/7 "2023-12-09T14:04:26Z")

</div>

> [@admon](#):
>
> How would you do it?

I wouldn't. LUKS1 is obsolete & proper LUKS2+Argon2di still isn't even in mainline Grub for mainline distros. I store at rest via gocryptfs + Syncthing's 'untrusted devices'/ encryption option (which also uses gocryptfs).

The underlying cipher is supposed to be be post-Quantum resistant if you believe the chatter about XChaCha20-Poly1305. Syncthing in the GL repos is some 8 minor versions behind current... so I encrypt before I encrypt.

(ccpcryptfs is available for Windows.)

[![](https://img.youtube.com/vi/hT373XZHNvk/maxresdefault.jpg "Configuring SyncThing Untrusted (Encrypted) Devices") ](https://www.youtube.com/watch?v=hT373XZHNvk)

> **[GitHub - bailey27/cppcryptfs: cppcryptfs is an implementation of the gocryptfs...](https://github.com/bailey27/cppcryptfs)**
>
> cppcryptfs is an implementation of the gocryptfs encrypted overlay filesystem in C++ for Windows.

---

<div class="post-metadata">

**Author:** ![velvetblueeyes](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/v/b4bc9f/32.png) [@velvetblueeyes](https://forum.gl-inet.com/u/velvetblueeyes)\
**Post date:** [December 10, 2023, 12:54am UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/8 "2023-12-10T00:54:40Z")

</div>

not really helpful to my situation…my device is already encrypted with luks…i just want to unlock it when its plugged into the router. Not sure why this isn’t a menu option somewhere…seems like that would be a common thing to want to protect your drive, then just have a key to open when when needed, just like with the user protection.

---

<div class="post-metadata">

**Author:** ![velvetblueeyes](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/v/b4bc9f/32.png) [@velvetblueeyes](https://forum.gl-inet.com/u/velvetblueeyes)\
**Post date:** [December 10, 2023, 12:59am UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/9 "2023-12-10T00:59:48Z")

</div>

so your method is to load files and encrypt present folders? Is that possible to do when accessing from network, like on my phone?

---

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [December 10, 2023, 2:54pm UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/10 "2023-12-10T14:54:24Z")

</div>

> [@velvetblueeyes](#):
>
> Not sure why this isn’t a menu option somewhere…seems like that would be a common thing to want to protect your drive […]

You’re not exactly a “common” user here, my guy… you care about security. 😉 I’m no help on the LUKS front for my aforementioned reasons beyond pointing you to the OpenWrt forum but your experience there is going to be a heavy case of YMMV. The latest stable firmware for the Slate AX is still built on OpenWrt 21.02; the latest mainline OWRT is 23.05.x.

If you _really_ want mainline OWRT then you’re going to end up looking @ @solidus1983 's vanilla builds for the Slate AX. That’ll mean you’ll be dumping the GL GUI (oh well) but more importantly the closed source SDK they use. There’ll probably be a performance hit in doing so (not that I’ve yet tested it).

_Blah, blah, blah…_ the point is: if you want full access to the OWRT ecosystem you might want to consider dumping GL firmware & just eat any performance hits. You still won’t have anything beyond LUKS1 though.

---

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [December 10, 2023, 3:05pm UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/11 "2023-12-10T15:05:10Z")

</div>

> [@velvetblueeyes](#):
>
> so your method is to load files and encrypt present folders? Is that possible to do when accessing from network, like on my phone?

Syncthing just ends up mirroring whatever dirs you designate to it on client device(s). It hashes the files before uploading using its optional encryption function. It is not a method akin to Samba/SMB/WebDAV/NFS.

In the case of accessing the pre-Syncthing encrypted files (which were first encrypted by gocryptfs/ccpcryptfs) on my phone, I use DroidFS. IDK what the counterpoint would be on iOS.

I stress my method is to _double encrypt…_ because I’m paranoid like that. Just using gocryptfs/ccpcrypt → Syncthing sans its encryption function → DroidFS would result in adequate protection, I’m sure but I can’t speak to your threat model.

Another viable option may be just to use SMB/NFS for storage but gocryptfs before storing files on the network share. Using a Android client for SMB/NFS access, pointing DroidFS to that share isn’t something I’ve tried.

– _“If you’re not paranoid, you’re not paying attention”_ 😉

> **[DroidFS | F-Droid - Free and Open Source Android App Repository](https://f-droid.org/en/packages/sushi.hardcore.droidfs/)**
>
> Store & access your files securely

---

<div class="post-metadata">

**Author:** ![velvetblueeyes](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/v/b4bc9f/32.png) [@velvetblueeyes](https://forum.gl-inet.com/u/velvetblueeyes)\
**Post date:** [December 10, 2023, 8:59pm UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/12 "2023-12-10T20:59:12Z")

</div>

all this is way over my head…lol. I’m not a dev or in IT or anything …just an artist with an encrypted external drive that I want to see on my network when I plug it in. I’m super surprised no one else does this and that there’s not an easy method for this in a menu somewhere. spending days or weeks learning how to use ssh, different decryption methods, what the commands are and all the rest is kind of off-putting. I’ll likely just look for a different solution. Thank you though. I used luks because that’s what my linux distro offered when I formatted my drive. The other encryption methods are foreign to me, though I do have veracrypt installed.

---

<div class="post-metadata">

**Author:** ![admon](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/admon/32/32880_2.png) [@admon](https://forum.gl-inet.com/u/admon)\
**Post date:** [December 10, 2023, 9:02pm UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/13 "2023-12-10T21:02:47Z")

</div>

> [@velvetblueeyes](#):
>
> I’m super surprised no one else does this

NAS is the way to go. Putting a hard drive via USB to a router is … strange. 😅

---

<div class="post-metadata">

**Author:** ![velvetblueeyes](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/v/b4bc9f/32.png) [@velvetblueeyes](https://forum.gl-inet.com/u/velvetblueeyes)\
**Post date:** [December 10, 2023, 9:03pm UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/14 "2023-12-10T21:03:58Z")

</div>

I have health issues and I’m unemployed and can’t afford a NAS…i wish. I just have a few odd drives laying around.

---

<div class="post-metadata">

**Author:** ![admon](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/admon/32/32880_2.png) [@admon](https://forum.gl-inet.com/u/admon)\
**Post date:** [December 10, 2023, 9:06pm UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/15 "2023-12-10T21:06:16Z")

</div>

Yeah, it depends on your environment of course. Just want to explain why it’s not _that_ common.

---

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [December 10, 2023, 10:28pm UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/16 "2023-12-10T22:28:12Z")

</div>

> [@velvetblueeyes](#):
>
> spending days or weeks learning how to use ssh, different decryption methods, what the commands are and all the rest is kind of off-putting.

Fair enough.

> [@velvetblueeyes](#):
>
> [...] though I do have veracrypt installed.

Nice. So you're familiar w/ the concept of encrypted containers just like LUKS encrypts entire partitions/sections of storage drives. gocrypfs/ccpcrypt encrypts dirs/files one at a time/on a per-file basis.

It might be easier to use the GL GUI to set up NAS functionality _after_ connecting your LUKS drive onto your Linux PC, installing SirKali, decypting/mounting your LUKS contents to a SirKali 'virtual drive' ("mount point"), dismounting (see screenshots) then copying that SirKali directory to your NAS.

> [@admon](#):
>
> NAS is the way to go. Putting a hard drive via USB to a router is … strange.

... & also a variant of a NAS, however 'non-Enterprise'. 😉

> **[SiriKali works on Linux, macOS and Microsoft Windows Operating Systems](https://mhogomchungu.github.io/sirikali/)**
>
> A Qt/C++ GUI front end to cryfs,gocryptfs,securefs,ecryptfs and encfs

---

<div class="post-metadata">

**Author:** ![bruce](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bruce/32/35649_2.png) [@bruce](https://forum.gl-inet.com/u/bruce)\
**Post date:** [October 29, 2025, 4:28am UTC](https://forum.gl-inet.com/t/unable-to-access-encrypted-external-storage/35974/17 "2025-10-29T04:28:07Z")

</div>


