Sign in with
Sign up | Sign in
Your question
Solved

How to restrict only particular IP to access application from Home Network

Tags:
  • IP
  • Networking
Last response: in Networking
Share
October 9, 2014 9:41:38 AM

HI All

My work place IP is 125.62.234.32. I want to access application 125.62.234.62\xxxx.asp from home network . im able to access the application from home network but how to restrict to access the application for particular Home user IP's only and block remaining all.

More about : restrict access application home network

October 9, 2014 9:58:06 AM

You will be better served by putting your application server behind a firewall, and configuring firewall rules appropriately.
I would rather use VPN for this.
m
0
l
October 9, 2014 9:59:49 AM

Some routers under their port forwarding settings you can set to only allow certian IPs. You could likley also set this in your firewall application.

The issue though is that your home connection most likely has a dynamic IP which means that every week or two your IP issues a new IP lease that changes your IP. Thus you would have to change your settings as your router chages.

If it is just for private use, I would make the website be on a non standard port, and try to use SSL if the application allows it. Does the ASP page have a login/password?
m
0
l
Related resources
October 9, 2014 10:00:10 AM

Don't know of a real solution to this but be aware non-business IP addresses change with some frequency.
m
0
l
October 9, 2014 10:01:14 AM

(Smacks myself in the head) Duh, a VPN connection would be the best thing to do, this way you dont have to open the website to the outside world, and you dont have to worry about your IP changing.
m
0
l
October 9, 2014 10:13:15 AM

boosted1g said:
Some routers under their port forwarding settings you can set to only allow certian IPs. You could likley also set this in your firewall application.

The issue though is that your home connection most likely has a dynamic IP which means that every week or two your IP issues a new IP lease that changes your IP. Thus you would have to change your settings as your router chages.

If it is just for private use, I would make the website be on a non standard port, and try to use SSL if the application allows it. Does the ASP page have a login/password?


Yes it is having login page .There are only 2 users are there who are going to access this weblink. So i want to restrict only for these users.

m
0
l

Best solution

October 9, 2014 10:19:12 AM

As stated the problem you will run into is that your home internet IPs will change every couple of weeks.
This would require constant reconfiguring of your router or firewall settings.

Best option is to setup a VPN software on your server, or install a VPN hardware router.
Otherwise your next best option is to not use port 80 for http and set it to a different non-standard port, and then use https if at all possible.
Share
October 9, 2014 10:27:57 AM

boosted1g said:
As stated the problem you will run into is that your home internet IPs will change every couple of weeks.
This would require constant reconfiguring of your router or firewall settings.

Best option is to setup a VPN software on your server, or install a VPN hardware router.
Otherwise your next best option is to not use port 80 for http and set it to a different non-standard port, and then use https if at all possible.


thanks i will try to configure in other port other than 80
m
0
l
October 9, 2014 10:36:41 AM

Yu can always keep the local program on port 80, but have the remote port be something off beat.
So remote port would be say 15555 and local port of 80
m
0
l
October 9, 2014 11:51:43 AM

boosted1g said:
Yu can always keep the local program on port 80, but have the remote port be something off beat.
So remote port would be say 15555 and local port of 80


how can i do that ??
Can you please help me on that?
thanks
m
0
l
October 9, 2014 11:59:44 AM

That varies from router to router. What is your router?
m
0
l
October 9, 2014 12:05:19 PM

boosted1g said:
That varies from router to router. What is your router?

Dlink

m
0
l
October 9, 2014 12:07:03 PM

Need model number as well.

You would not believe how many completely different firmwares with completely different interfaces and options a router company will have, even in just a year or two span.
m
0
l
October 10, 2014 6:03:24 AM

boosted1g said:
Need model number as well.

You would not believe how many completely different firmwares with completely different interfaces and options a router company will have, even in just a year or two span.

D-Link DIR-600L Wireless N150 Cloud Router


m
0
l
October 10, 2014 7:57:35 AM

This guide tells you how to get to the port forward settings:
http://portforward.com/english/routers/port_forwarding/...

On Public port you would put what ever port number you decided (number should be greater then 10000).

On private port you would put 80 for HTTP or 443 for HTTPS.

On both public and private there is two boxes, this is so that you can specify a range so you could say do port 15000-16000. For the sake of seurity and what you are trying to do, you only want to open one single port. So just put the same port number in both boxes.
m
0
l
October 10, 2014 8:53:19 AM

boosted1g said:
This guide tells you how to get to the port forward settings:
http://portforward.com/english/routers/port_forwarding/...

On Public port you would put what ever port number you decided (number should be greater then 10000).

On private port you would put 80 for HTTP or 443 for HTTPS.

On both public and private there is two boxes, this is so that you can specify a range so you could say do port 15000-16000. For the sake of seurity and what you are trying to do, you only want to open one single port. So just put the same port number in both boxes.


Thanks for the detailed solution. I will try and let you know
m
0
l
!