Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

172 addresses

172 addresses

172 addresses

I have a php-script that checks whether a user is coming from inside our firewall (using a 172-address) or if he's coming from the outside (any other address). Certain restrictions appear for outside users.

But is it possible for an outside user to change his IP-address to appear as a 172-address in any way or are all 172-addresses always for inside-users?

RE: 172 addresses

We have 172.16 addresses internally.
But with what did that url help us out?

RE: 172 addresses

Sorry, I thought you asked 'are all 172-addresses always for inside users?' so I showed you that they weren't.

Only the one range of 172.16 to 172.31 is internal, the rest of the 172 addresses are external.

I tried to remain child-like, all I acheived was childish.

RE: 172 addresses

OK, but the 172.16-series is fail safe?

RE: 172 addresses

172.16 - 172.31 are RFC 1918 Private Network Addresses.  All 172.x.x.x addresses outside of those ranges are legal internet addresses.

You need to change your filter on your php script to match against  172.16, rather than all 172 addresses.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close