Connecting to a ftp server that only allow specific IP address - networking

I need to connect to a FTP server with restricted IP blocking firewall. The problem is my IP is in dynamic. I only need the FTP to work, I'm using Filezilla. My ISP won't allow me to have a static IP that's the big problem. Is there any way i can make this work? Is proxy an alternative?

Related

Fritzbox public ip address with DS-Lite

I am struggeling to connect to my home server that is connected via a Fritzbox router to the internet. I want to connect to the home server from outside of the home net, as it serves as a NAS and provides HTTP(S) services.
The problem is, that I don't understand how to connect to the server over the internet. My Fritzbox is connected to my internet provider via DS-Lite internet connection. As far as I understood, this means that my Fritzbox has no public IPv4 address and therefore the server is not reachable.
Is it still somehow possible to connect to the server?
Reading your question, I can see that there are multiple steps to solve this.
figure out if your internet provider allows you to have incoming connections
I do not know, what a ds lite connection is. Depending on your connection type, e.g. glass fibre, dsl, mobile and your provider incoming connections might be allowed or not. Also specific ports might be forbidden.
Enable port forwarding for incoming connections to your lan server.
Your fritzbox does not know, where to route the incoming connection to.
Make your lan server ip address static. Go to your fritzbox admin page and create a port forwarding rule and map data incoming on port 80(HTTP) and 443(HTTPS) to the lan server ip address.
You can read further here: https://en.wikipedia.org/wiki/Port_forwarding
Figure out the fritzbox's public ip address by checking out this website from within your lan. https://whatismyipaddress.com/
Connect to your server via http(s)://publicip
setup dynamic dns to have a public domain, which you can use instead of the ip address.
Usually private customer internet connections use dynamic ip addresses. So your ip address changes regularly. This is annoying, because you need to lookup the ip address before you can connect again. To avoid this issue, you can use a dynamic dns provider to give you a domain name, which you can use instead of the public ip address. Your fritzbox should have this kind of functionality already. If not, you can also configure it on your server with a cron job.
You can read further here: https://en.wikipedia.org/wiki/Dynamic_DNS
This provider is easy to use and for free: https://freedns.afraid.org/
use the dynamic dns domain name instead othe public to access your server from anywhere
Be aware, that having open connections to your local network gives attack surface from the public internet. So people might steal or delete data on your server or abuse it in other ways.

Access internal resource from external ip

I have a network with a resource with an internal ip of 192.168.1.254 for example. I need to be able to access this resource from the external IP address of 86.126.1.234 let's say. I am off site and need to use VNC to access this computer.
How can I access this resource using just the two IP addresses.
Thanks in advance,
Maksim
192.168. is a non routable ip address.
You need an external facing ip address.
to find out your external ip address you can try
whatsmyipaddress.com
You will probably need to change your router configuration to make your VNC port forwarded to 192.168.1.254.
Or, you if you just need remote control access to your Computer, try using
www.teamviewer.com

access local server from other networks

I created a localhost server using servlets.
I want to know how to access from other networks(other ip addresses).
what to do for that?
any answers will be helpful for me
you should use public ip address,instead of local ip address to access over the networks.
You can access it by giving IP address of your machine in your application url in place of localhost while accessing it from another machine in the same network.
you can use your ip address instead of localhost.and also need to configure firewall.The firewall can be configured by: choosing the Windows Firewall from the Control Panel, then click on Exceptions -> Add Port and enter name and number: your server, port and leave transport protocol as TCP.
e.g,
http://10.4.0.198:8080/project

How to access my server behind a router with public and private IP

Thanks fellows, here's my question.
I have a FTP server running on my PC behind a router. Let's say its IP Address is 192.168.1.2
My public IP Address which is the IP I set in my Router is let's say it's 137.132.228.27
How I should I access my FTP server from Internet?
Normally people use port forwarding. Forward port 21(the FTP port) to my PC. But in my case the Router which is the property of university is out of my control so how can I access my FTP server with the two IP addresses given above.
Thanks
Linus
In this case you can only run FTP server for(accessible from) local Computers. not the computers from the internet. Unless you forward ports to your pc(that you mentioned you can not so its not possible)
As others have suggested, getting a Dropbox account is probably the simplest solution.
If you can't get your university IT admins to set up the port forwarding, then you may not be able to connect to it.

How Can I Access Locally Hosted IIS WebSite from Remote Computer By My IP Address?

How Can I Access My Locally Hosted IIS WebSite from Remote Computer By My IP Address ?
You have to check you ip here, make sure that you are forwarding port 80 (especially if you're in a locale home network), and then you could access your server by http://<server_ip> e.g. http://192.168.0.6
Note that as long as you don't have a fixed (static) ip, your ip address might change, and you'll have to recheck it.
Another note- The default HTTP port is 80, and by using port 80 you could access your server via browsers without writing the port number. If for any reason you like to switch port, make sure your forward that port number and access your site by http://<server_ip>:<port_number> , e.g. http://192.168.0.6:8080
if you are using some other port. then you can go with http://<ip_address>:<port_no>

Resources