Only access to certain IP ranges
-
- BronzeLounger
- Posts: 1290
- Joined: 03 Feb 2010, 19:59
- Location: Terneuzen, the Netherlands
Only access to certain IP ranges
I would like to configure Firefox (older version which I don't want to update for certain reasons) to have access ONLY to a few pre-set IP-address ranges.
Can this be done? How?
Can this be done? How?
-
- Administrator
- Posts: 78790
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Only access to certain IP ranges
Perhaps the following:
- Select Tools > Options...
- Click Advanced.
- Activate the Network tab.
- Click Settings...
- Select 'Manual proxy configuration'.
- Set the HTTP proxy to 127.0.0.1. This is your own computer, so it will effectively block all internet access.
- Enter the ranges you want to allow in the 'No proxy for' box (remove 127.0.0.1 from this box).
Use CIDR notation for the IP ranges. For example, to allow all IP addresses beginning with 12.116.48, enter 12.116.48.0/24 - this specifies that the first 24 bits = 3 bytes are fixed, while the remaining 8 bits = 1 byte can be anything.
To lock down Firefox settings, see Locking preferences.
- Select Tools > Options...
- Click Advanced.
- Activate the Network tab.
- Click Settings...
- Select 'Manual proxy configuration'.
- Set the HTTP proxy to 127.0.0.1. This is your own computer, so it will effectively block all internet access.
- Enter the ranges you want to allow in the 'No proxy for' box (remove 127.0.0.1 from this box).
Use CIDR notation for the IP ranges. For example, to allow all IP addresses beginning with 12.116.48, enter 12.116.48.0/24 - this specifies that the first 24 bits = 3 bytes are fixed, while the remaining 8 bits = 1 byte can be anything.
To lock down Firefox settings, see Locking preferences.
Best wishes,
Hans
Hans
-
- BronzeLounger
- Posts: 1290
- Joined: 03 Feb 2010, 19:59
- Location: Terneuzen, the Netherlands
Re: Only access to certain IP ranges
Doesn't appear to work... The range I included works but others still do too.
Is this what you meant?
Is this what you meant?
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 12650
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: Only access to certain IP ranges
That's strange. Can you try changing the Port number for the proxy from 0 to another number, for example 80
StuartR
-
- Administrator
- Posts: 78790
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Only access to certain IP ranges
Yes, that's what I meant, but if it doesn't work, I cannot offer further help. Sorry.
Best wishes,
Hans
Hans
-
- BronzeLounger
- Posts: 1290
- Joined: 03 Feb 2010, 19:59
- Location: Terneuzen, the Netherlands
Re: Only access to certain IP ranges
Tried that... no difference...
-
- cheese lizard
- Posts: 6241
- Joined: 16 Jan 2010, 00:14
- Location: Sydney Australia
Re: Only access to certain IP ranges
Depending on what modem you have, you may be able to setup the restrictions in the modem.
Cheers, Claude.
-
- Administrator
- Posts: 12650
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: Only access to certain IP ranges
I just tested this Firefox setting on my PC (Windows 7, Firefox 28.0.1) and it works as expected. Please go back and double check the settings as this makes little sense.
StuartR
-
- BronzeLounger
- Posts: 1290
- Joined: 03 Feb 2010, 19:59
- Location: Terneuzen, the Netherlands
Re: Only access to certain IP ranges
I'm trying this @ work... there's no modems there ;-)Claude wrote:Depending on what modem you have, you may be able to setup the restrictions in the modem.
-
- cheese lizard
- Posts: 6241
- Joined: 16 Jan 2010, 00:14
- Location: Sydney Australia
-
- BronzeLounger
- Posts: 1290
- Joined: 03 Feb 2010, 19:59
- Location: Terneuzen, the Netherlands
Re: Only access to certain IP ranges
For certain reasons I have to use an older version of FireFox. To make the process easy, I was also trying to use an approach where no install would be required and where I could pre-set certain conditions (like the IP address ranges). I did find a portable FireFox install set here http://portableapps.com/firefoxportable and that one uses FireFox 3.6.6...StuartR wrote:I just tested this Firefox setting on my PC (Windows 7, Firefox 28.0.1) and it works as expected. Please go back and double check the settings as this makes little sense.
Maybe that could be the reason why I cannot make this work?
-
- BronzeLounger
- Posts: 1290
- Joined: 03 Feb 2010, 19:59
- Location: Terneuzen, the Netherlands
Re: Only access to certain IP ranges
I tested this with v28 but also there it does not seem to work... Let's suppose my IP address was 123.456.789.123, then I'd enter in the "No Proxy for" box: 123.456.0.0/16 right?StuartR wrote:I just tested this Firefox setting on my PC (Windows 7, Firefox 28.0.1) and it works as expected. Please go back and double check the settings as this makes little sense.
So if I would then try to access 124.111.222.333 I should NOT be able to do that, correct? Because in my case I DO have access there!
You do not have the required permissions to view the files attached to this post.
-
- 5StarLounger
- Posts: 1120
- Joined: 26 Jan 2010, 11:32
- Location: "What a mighty long bridge to such a mighty little old town"
Re: Only access to certain IP ranges
Disclaimer: I don't really know what I'm talking about.
But do you need to check the box marked "Use this proxy server for all protocols"?
But do you need to check the box marked "Use this proxy server for all protocols"?
John
“Always trust a microbiologist because they have the best chance of predicting when the world will end”
― Teddie O. Rahube
“Always trust a microbiologist because they have the best chance of predicting when the world will end”
― Teddie O. Rahube
-
- Administrator
- Posts: 12650
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: Only access to certain IP ranges
Try with absolutely nothing in the "No proxy for:" box first to see what that does.ErikJan wrote:...
Let's suppose my IP address was 123.456.789.123, then I'd enter in the "No Proxy for" box: 123.456.0.0/16 right?
So if I would then try to access 124.111.222.333 I should NOT be able to do that, correct? Because in my case I DO have access there!
It might be confused because 127.0.0.1 is your local PC, it leads to the same place as 123.456.789.123
This won't affect the ability to access web sites, it is for other protocols, not httpjonwallace wrote:...do you need to check the box marked "Use this proxy server for all protocols"?
StuartR
-
- BronzeLounger
- Posts: 1290
- Joined: 03 Feb 2010, 19:59
- Location: Terneuzen, the Netherlands
Re: Only access to certain IP ranges
You are right, if I leave the "No Proxy For" box empty, I still can access everything... Now what?
-
- Administrator
- Posts: 12650
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: Only access to certain IP ranges
This makes no sense to me. That proxy setting should prevent any web browser access from working as your PC should send all web requests to the local PC instead of to the internet.
StuartR
-
- BronzeLounger
- Posts: 1290
- Joined: 03 Feb 2010, 19:59
- Location: Terneuzen, the Netherlands
Re: Only access to certain IP ranges
127.0.0.1 as Proxy and the rest empty still allows me to go anywhere... e.g. google.com. What are we missing?
-
- Administrator
- Posts: 12650
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: Only access to certain IP ranges
Sorry, this is beyond me. When I configure Firefox 38.0.1 like this then I can't access any web sites...
My only remaining suggestions are that you install the latest version of Firefox, or you try a different browser.You do not have the required permissions to view the files attached to this post.
StuartR