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

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.

Related

I can RDP to any PC on a network via VPN, apart from ONE PC

So we have a team at works who manages the firewall. To connect to the network, we use openVPN, which assigns us with an IP to enter the network.
Whilst connected via VPN, I can ping every single machine (including my own), and I can rdp to every PC (excluding my own). This is the problem. I have asked a colleague to try to ping and RDP to my machine from their home via VPN, and they can. So it's a problem with my machine. (My machine is running windows 11.)
Any tips?
Thanks :)
Well I figured it out... Someone in my house had the same IP as the machine at work. I had to change my subnet to a different one to my local ethernet and the one provided by via the VPN for it to work. Because instead of pinging the VPN server then the host machine, it was straight up pinging the person in this house lol.

Can I remotely connect to a PC that is on a 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.

Redirect to router when i load a website on my directadmin server network

I have a server in my office that connected to my ADSL router,
And I using this modem to my internet connection
My Server is HP DL380 With CentOs 7 + Directadmin
The modem is D-link DSL-2750U
When I loading my DirectAdmin websites, I redirected to the modem
what's wrong with this and why this has happened?
All Sites are good in the internet and no problem
I can see my websites only when I using a VPN
Thank you, guys!
i show it in image
I understand you are trying to connect to a server located on your network. Since this works with a VPN this would almost certainly be a routing problem.
A few 'traceroutes' from your CentOS server to your wifi device would tell you where the traffic is failing. Here are some common issues that cause your routing problem.
1) CentOs server contains a subnet that overlaps the wifi network or vice versa. This doesn't work since the CentOS server believes the device on the wifi is on the same subnet when it isn't.
2) Cent OS server contains a default route other than to the D-link router (unlikely)
If you can't ping the CentOs server from your wifi device and these are not the issues please provide a network diagram that includes IP addresses and subnets or the wifi network, Server network, and VPN network.

How To Access FileZilla Remotely?

I've Created My Own FileZilla FTP server and I wanted to access it from my local Network.
So I've done that. but there are Two Problems I'm Facing right now.
Problem 1:- Can't connect ON PC which is connected with same Router But with LAN
My father's PC is connected with LAN And My Laptop is Connected with WiFi
So over WiFi with Any Device I can connect to my Server but when I try to connect my FTP to my father's PC (which is connected on LAN and with same Router)
I can't connect it
Problem 2:- Can't connect it Remotely
I want to access my this FTP server with Internet so that I can connect it with Remotely. I've referred on so many websites. but Can't Find a complete step by step Tutorial... I've Configured my FTP but still Can't connect it with Internet for remote access.. plzz help me out.
Thanks In Advance...
Problem 1: As you say wifi-connected devices can access the server, so there are different cases you shall check, as where my experience reaches, these two might be the reasons:
Is client/network isolation enabled in your router's wifi settings? This can be checked and solved by accessing your router's management console.
Is your father's PC on a different subnet (XXX.XXX.SUBNET.XXX)? If so, you have two choices, changing all devices' subnet masks to 255.255.0.0 (This might be applicable in your router's DHCP settings too.), or changing your father's PC's IP address to match the local subnet.
Problem 2: This has two solutions, both need resources that might not be worth it, but yet:
Connect to a virtual private network on the cloud (VPN), this way, your PC will become a part of a private network. You can connect other devices from other networks which can access the VPN server to the private network, so your PC and the device will now be in a same network like in your home network.
Some ISPs provide static IP addresses or internet plans with static IPs. Check if the internet plan you use is so, if not, you might be able to rent an IP address from them. With static IPs your network can be accessed from the internet. Anyway there might be a bit of effort needed to ensure that your PC is accessed in the first place.
And just letting you know, this question must be moved to the Super-User Forums.

Same ip address for multiple devices?

I want to develop an Android app that connects with a Windows desktop application via TCP/IP.
However I have very little knowledge of networking and so please forgive me if this is a very basic doubt.
My Windows based laptop as well as Android phone are connected to the internet via the same WiFi router.
Now I checked the IP address for my laptop as well as phone using a website.
Both are same!
If both have the same IP address, then to achieve networking between these devices I will choose different set of port numbers.
Will this connection work?
Is the connection happening via the internet or just locally on my
router?
EDIT: After reading the answer from #Doon, I have broadened my question.
Let's say the local address of laptop is 192.168.1.10 and that of phone is 192.168.1.20.
If I code my application to use these IP addresses, it should work as it is a local network.
But what if I want my laptop to connect with another phone which is not connected to the WiFi router, rather by 3G network.
Then which IP address should be used for the laptop and the other phone?
Since I am not allowed to use any other server, I am going to use port forwarding i.e. the user will type in the IP address displayed on the other device. The connection could be initiated on either one of the devices.
If you could also show how to do this programmatically, it would be very helpful.
My Windows application is developed in C++ using Qt.
All of your devices are sharing 1 external or WAN IP address using NAPT (network address port translation). Internally on your LAN each device has its own address. So yes it will work but you are going to need to use internal addrss and the devices actual IP address not its perceived address via an external service.
As for the connection locally or via router that all depends on where you are connecting to. If both end points are on your lan or on the same Subnet then the router will not be involved. So in the average home network between your phone and desktop both connected to the same network say via wifi then they are most likely layer 2 adjacent (see the OSI 7 layer model for more info on layer 2 vs layer 3). But once they are not on the same network then routing will be involved and your router will be used. If the phone is connected to 3G or the cell data network and you want it to talk to your desktop on your home network you are going to need to deal with port forwarding on your router and other such fun things.
In regards to updates. Once you leave the local network it gets more complicated especially with IPv4 as address are running out so there is more and more use of nat or IPv6 with 6 to 4 gateways. Do you want the laptop to initiate connect to the phone or phone to the laptop? But normally you will need to iterate your address on your interfaces. Then connect with an external service to get your external IP address and compare and see if they are the same. if both endpoints are dynamically assigned you will need some sort of location mechanism could be dynamic DNS could be locator service etc.

Resources