this post was submitted on 29 Nov 2023
54 points (98.2% liked)

Linux

47237 readers
3343 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

So my Windows work PC is connected to the company's AD. VPN Connection is done with L2TP with PAP and a Yubikey.
I'd like to work from within a Linux environment if possible but need access to the files on the network drive and connect to a terminal server via VPN and RDP.

Is there a way to set this up? My first idea was, maybe a Linux VM could be configured to share the host PC's external network adapter so from the outside it looks like the Windows machine is connected?
If there's no other way, maybe WSL can be set up with a full screen X Server running on Windows (or is running Wayland in WSL somehow possible?)

I'm fishing for ideas here, and really just need some fitting terms to google, any help is appreciated.

Questions about violating company policy can be disregarded at the moment. If there is a way to set it up, I'll ask my boss before implementing it, but it's a small shop so the need hasn't arisen for anyone else yet. To be clear, this is not about circumventing restrictions on computer use, just about working in an environment I'm more productive in.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 9 months ago

If you use WSL, you can easily access the windows drives. In a VM, you can share the folder from the host.

Another method would be to just mount the remote smb location from your DC using fstab. I use Linux on bare metal, and I added a line to my remote share with noauto, so it doesn't mount it automatically at boot, since I need to connect to the VPN first, and I don't need permanent access. When I do need access, I just run mount adm and I'm in.