Traffic flow with and without VPN? - networking

I was not able to access an open learning website that was working fine earlier with the same Vodafone network.
To troubleshoot this further I have checked it with another network JIO and found that It is working fine.
So, further, I checked with the Vodafone network by connecting VPN and found that It is working as expected. (If I am disconnecting VPN then It's not working).
FYI:
a)Without VPN with Vodafone Network
(base) Shailesh-Yadav:~ shaileshyadaav$ host website_name
;; connection timed out; no servers could be reached
b)after connecting VPN with Vodafone network
shaileshyadaav$ host website_name
www.web_site_name is an alias for spayeeservers.com.
spayeeservers.com has address 134.2XX.XX.XX
spayeeservers.com mail is handled by 0 smtp.secureserver.net.
It'll be very much helpful to understand working if anyone can help me with below question.
1. I am accessing an open website(not having any restriction) and the same is not accessible with the Vodafone network but observe that It's working when I am connected to VPN. So how the traffic is flowing.
2.Any command through which I can understand the destination route(how it is reaching) OR differentiate the flow path(reason for this).

I have checked it by using the traceroute command and found that the traffic is flowing with different routes(hopes) with VPN and without VPN.
So, It means if we are connected to VPN then all the traffic will go through a tunnel and the site is not working without a VPN maybe some restriction from the ISP side.
(but again one doubt which one is better/faster in performance).

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.

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.

Connect to my localhost from another computer NOT in the same network

I have a real IP. Or so I think, basically how I tested this is under windows in cmd I pinged my IP address and I got packages back, so that must mean it's real. However when I start my xampp and go to my IP address in the browser I get
Unable to connect
Firefox can't establish a connection to the server
I tried looking up other questions but they didn't help cause all answers I found were suggesting LAN connection. Can you please explain to me any extra steps I need to take or link an answer that does that. Thanks!
The only way to access your localhost from other computers is over a Local Area Network (LAN); whether wired or wireless, there has to be a physical connection between the computers.
Once the computers are connected, you can access your localhost from the browser with the name of the computer on other computers:
http ://your-computer/path/to/files/
It also works on the same computer, so you can test it there.
You can find the name of your computer by going to the "Network" section in Windows Explorer.
EDIT:
If you want to access a localhost from a computer that is on another network, you have to create a web server; more or less what you would be paying for from a hosting company. Here is how you would do it:
http://arstechnica.com/gadgets/2012/11/how-to-set-up-a-safe-and-secure-web-server/

Setting up local wireless server using WAMP

My goal is to have two laptops in a network. One is acting as a server, serving webpages to the other. The catch here is that neither is connected to the outside internet.
What I have done so far is setup WAMP on the server laptop, and it successfully serves web pages on localhost. Now I want to access these pages on the other laptop.
To do this, I had the server create an ad-hoc network and connected the other laptop to it, but I'm stuck - and I'm worried I'm not on the right track. I followed this tutorial but in the end I figured out that just explained how to spoof a text URL as an IP address, and not really what I was looking for.
So I guess I have two questions:
Is my method the best way to do this (with ad-hoc networks)? Is there some way to connect a laptop to a wireless router and have the laptop act as a server to another laptop?
If my WAMP and ad-hoc network should work, how do I connect other laptops to my server through the ad-hoc network?
Thanks!
I would suggest the first option: get a wifi router. Then you can assign static IP adresses from the routers private network or use DHCP server on the router. Hopefully you will have an option to reserve IP adresses on DHCP server so you dont have to check every time what IP adress the laptop acting as a server got. You use this address to access your web server. Also, you can use this router later as a gateway to the internet if you want.
In ad hoc mode you will probably get an address from 169.254.0.0/16 link-local scope, and you can check it by running ipconfig as #Robadob already suggested.
On your hosting laptop open cmd and call ipconfig look for the internal IP address on the network interface your hosting the ad-hoc network.
Enter that IP address into the browser on your client laptops web browser instead of localhost.
If that doesn't work, try other ip addresses listed by ipconfig (incase you used the wrong) and then check the properties of your ad-hoc network, windows firewall and any other firewall software to disable anything that might be blocking it.
An ad-hoc network is suitable option for what your doing, most people would probably use a switch or router though, however that requires hardware you probably don't have.

ASP.net4 sql connection issues

Okay, some background first:
I have 2 servers at home, 1 of them runs the Webserver, while the other one is pretty much a data server.
Both of these servers have 2 Gigabit lan ports.
Lan port 1 on both servers are directly connected to the internet.
while Lan port 2 is connecting the two of them together.
(See Schematic: Schematic http://www.swan10.nl/stuff/schematic.png
This works all perfectly fine when I turn the internet connection off on one of these machines. However when I turn the internet connection on on both of these machines the Web server tries to obtain it's data through the internet connection, but I don't allow the SQL server to be seen over the internet.
Now I was wondering if it is possible to tell the Web server which connection to use, because I need both of these devices to have an independent internet access. So telling the Webserver to use connection 1 (internet) for just the internet connections, and use Connection 2 (link) solely to connect to the SQL server/Data Server
Both computers have their own static public WAN IP they are directly connected to the internet, they are also directly connected to each other, there is no router in-between them. So far i only managed to make it work when i made the SQL server visible to the internet which is not what I want.
Any help regarding this would be very much appreciated, thank you in advance.
ADD:
I have already tried various answers posted on the internet, I also tried and see if the SQL server is actually listening which it is, it just uses the wrong connection if both are connected independantly to the internet and to each other.
Make sure you use IP instead of Server Name in the connection string when using mentioned set up.
Thank you "Paige Cook" for refreshing my memory, and pretty much supplying me with my own answer!

Resources