Can I remotely connect to a PC that is on a VPN? - vpn

With my personnal PC, I used to connect to my WORK PC that was in the workplace building. With my personnal PC, I had to connect to CISCO VPN first, then connect to my work PC.
But we were recently instructed to get the WORK PC from the workplace and install it at home. My work PC is always connected to CISCO VPN in order to work properly.
What I would like to do now, is to use my personnal PC like I used to do to connect to my work PC that is ALSO in my home right now.
Is it possible? Should I also connect my personnal PC to the VPN to remotely connect to my work PC that is ITSELF always on VPN? I'm completely lost
I tried the following:
Connected to my vpn on my personnal PC to WORK PC using microsoft remote desktop - did not work
Connected to my personnal PC without any VPN to my WORK pc that is on vpn - did not work

My recommendation would be to connect as you did before - connect to Cisco VPN in order to connect your personal PC to your work PC. The connection will be encrypted and more secure. It's overkill for two devices on your own home (internal) network, but certainly the secure option.

Related

How to ssh into a work laptop connected to a VPN

I haven't found a question fitting the exact parameters of my situation (please excuse me if I have missed it).
For the last year remote work has been nothing but a blessing, it's the perfect set-up for me and my productivity has skyrocketed. The one blemish I'm still facing is when it comes to accessing work apps and machines (via ssh) for which a connection to the work network is required.
For that I use my work laptop and assorted VPN connection (using F5 Big IP) while most of my dev work/meetings/emailing/etc takes place on my comfortable personal desktop. Working on the work laptop is a miserable affair, it has a tiny, low-res, TNT, 12" panel while my personal PC has two 27" displays.
I would very much like, on the personal PC, to be able to use a dedicated browser plugged into an ssh tunnel running on the laptop to access work-network only apps and to ssh into work machines.
Both machines are running Windows 10, which is fine for my personal PC as all my dev work takes place through WSL2/Docker but is really painful on the work laptop because it's a pre-WSL2 version.
Both PCs use my home wifi connection, through which the work laptop connects to the VPN.
I'm wondering how to go about achieving that ssh tunnel to the work laptop since, once connected to the work VPN, the laptop isn't visible anymore on the local network.
I've been thinking of trying to hook them up via ethernet and use that second connection as the support for the ssh access but I'm not sure that'd work or how to go about it.
Any help would be much appreciated, thank you for taking the time to read this.
Setup a Reverse SSH Tunnel
In short you connect from your laptop to your Windows10 Box using ssh.. (You will need to run sshd on Windows 10) either via Windows or via cygwin or a virtual machine. Once you have that working you can use the OpenSSH "Reverse tunnel" feature which binds a port on your Windows Box and when your connect to it that opens a connection to your Laptop.
This example uses port 22 but you could use any TCP based port. (e.g. 3389 is RDP)
Let's assume that Destination's IP is 192.168.20.55 Laptop that you want to access).
You want to access from Windows10 desktop with IP 138.47.99.99.
Destination (192.168.20.55) <- |NAT| <- Source (138.47.99.99)
SSH from the destination to the source (with public IP) using the command below:
ssh -R 19999:localhost:22 sourceuser#138.47.99.99
port 19999 can be any unused port.
Now you can SSH from source to destination through SSH tunneling:
ssh localhost -p 19999
3rd party servers can also access 192.168.20.55 through Destination (138.47.99.99).
Destination (192.168.20.55) <- |NAT| <- Source (138.47.99.99) <- Bob's server

How to access xampp from another pc via LAN?

I am running XAMPP on my windows 10. and installed WordPress site. All working fine on my pc and other PCs in my network.
I just changed my router.
My site is working on my PC but not working on other PCs.
When i connect with WiFi, its working. If i connect with cat5 wire, its not working.
Check your IP-Addresses and network configuration (e.g.: Gateway). Port Forwarding may also be needed on the new router.
For a better answer I'd need more details. For example, can you ping the other PCs on the network? Are you able to connect to the internet?
You should also check your firewall.

Can I share VPN connection from laptop to other laptop using WiFi

I have only one Username/Password vpn to server then I want to connect vpn from other laptop on same time too.
here is my network map
In this image I want to share VPN to A taptop
So, Can I share vpn to other laptop
Thank you.

WP8 Emulator cant connect to Internet when connected with a dongle

I am using a plug and play dongle for internet connection. My WP8 emulator is not working ...I tried all the steps mentioned here and on various other forums.. but it was of no help...I am using a 64 bit machine and Hyper-V is on.What should I do?
This is a problem which even Microsoft is unable to answer as of date.
Windows Phone 8 Emulator has a separate IP of its own, different from the IP of the host computer. It needs a dedicated internet connection for itself.
When you are connecting the dongle, you are feeding internet only to the host system and not to the emulator.
One way to get internet on emulator is to use WLAN connection on the system. You can create a WiFi hotspot and that will provide internet to emulator.
In case, you only have dongle as an option, then you have to do tethering with another system.
Create a peer-to-peer network using a LAN cable with another nearby system and change the IPV4 of all available virtual switch adapters of both the systems to dynamic. (no static IP)
Then use dongle to share internet for both the systems. If the other system successfully gets the internet, be sure that the emulator will also get the internet.
You can google out how to create a peer-to-peer connection.
Happy coding :)

Access my latops XAMPP directories from smartphone without a router

I'm working on a website whose main purpose is to be accessed from mobile phones. On my laptop I've installed XAMPP and work with it for development. If I want to check one of the websites from my Android Smartphone, so it connects through my home or work wireless network, which gave my laptop an internal IP.
I do not always have that network though, so my smartphone would need to find my laptop without that. Do I need to turn my laptop into an access point, so my smartphone can find and connect over a SSID or is there a different way?
You can use an application like localtunnel to tunnel your laptop's webserver over the Internet.
You can connect your laptop and smartphone to the same network: by
USB/Bluetooth/Wifi tethering, or by a shared external network.

Resources