Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on IPs in requests from VPS in the Open Discussion & Chit-chat forum
Hi, I have 3 IP addresses pointing to my VPS x.y.z.1, x.y.z.2 and x.y.z.3 When i execute some php script under any of these IPs, ...

  1. #1
    JPC Member
    Join Date
    Apr 2008
    Posts
    1

    IPs in requests from VPS

    Hi,

    I have 3 IP addresses pointing to my VPS x.y.z.1, x.y.z.2 and x.y.z.3

    When i execute some php script under any of these IPs, and within this php script i refer to some other webpage by curl - this webpage always sees x.y.z.1 as referer. Is it possible to do so, that referer is exactly the same as the original IP, the request was made to?

  2. #2
    Loyal Client the_ancient's Avatar
    Join Date
    Feb 2004
    Posts
    3,386
    Quote Originally Posted by robac View Post
    Hi,

    I have 3 IP addresses pointing to my VPS x.y.z.1, x.y.z.2 and x.y.z.3

    When i execute some php script under any of these IPs, and within this php script i refer to some other webpage by curl - this webpage always sees x.y.z.1 as referer. Is it possible to do so, that referer is exactly the same as the original IP, the request was made to?
    Normally one 1 of the IP's are used for Web Traffic,

    the other 2 are used to set up your NameServers

    What ever IP the script your accessing sees should be the orginal sending IP.
    -------------------------
    the_ancient
    MP Technology Group

  3. #3
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    I believe that there is one primary IP address for the VPS, the other two are secondary. Incoming connections will all resolve to the same place, but I believe all outgoing connections will originate from the primary--that's just how the OS works.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •