Question Configuring access outside network

May 12, 2021
2
0
10
0
So, this is what's happening: I bought a Raspberry Pi in order to study some Linux and TCP/IP networking - I'm a noob in both
areas, as it will become evident in a few moments.

The installation of a Linux distribution and network configuration of the Pi went perfectly. I can access it directly
or by ssh from my desktop that runs Windows. The Pi is part of my home network and connects on the internet just fine.

HOWEVER, there's one thing that's bothering me a little: I work on home office from my Windows desktop, and I have to access
my company's VPN thru it. Needless to say, when the VPN is on I can no longer connect to the Raspberry Pi via ssh. I suppose
I understand why - by connecting to the VPN, I am no longer on my own home network, so the Pi's IP address is unreachable - but
this is somewhat annoying. There are moments when I'm idle at work and it would be nice to use that time to study. I can
circunvent this situation by plugging the Pi onto the same monitor I use for the Windows desktop since my monitor has two HDMI
slots and then switch the display on the monitor. This solution is very subpar, because as I'm on the second display
I cannot see what's happening on the VPN. Besides, since I'm connected directly to the Pi, I have to use a second set of mouse
and keyboard to interact with it, which is cluttering my desk.

I'd rather use two windows on the same display where the first would be connected to the Pi via ssh and the second to the VPN
using RDC. For that, I'd have to somehow configure the Pi to have an IP adress outside my home network. Unfortunately, I have
no idea on how to do it.

Can anybody help me out with this?
 
So first ask your IT guys if you can run split tunnel....only to the lan not to the internet. They may or may not allow it. If this is your machine and not owned by the company it is more likely they allow it.

I have not played with raspberry pi for a while and the new models are pretty fancy. Can they use a USB cable to talk to your computer. As a alternative do you have a second nic on your machine. ethernet will be easier but wifi will work also. The VPN "should?" block traffic only going to the main internet connection. If you have a secondary connection it might work. This again is a talk to the IT guys. If they say it is ok you can likely over ride the vpn by using the route command. Note IT guys can rig the VPN client to drop the session if you mess with the routing tables so be sure to ask.
 
Reactions: SamirD

ASK THE COMMUNITY

TRENDING THREADS