Redirect IP address to localhost

Discussion in 'macOS' started by OldSchoolMacGuy, Oct 22, 2012.

  1. OldSchoolMacGuy macrumors 68030

    OldSchoolMacGuy

    Joined:
    Jul 10, 2008
    #1
    I'm looking to redirect an IP address back to my localhost. It can be done with a domain name by modifying the host file but it does not work with IP addresses. Suggestions?
     
  2. OldSchoolMacGuy thread starter macrumors 68030

    OldSchoolMacGuy

    Joined:
    Jul 10, 2008
    #2
    Over 100 views and no answers. Suppose this one is over the heads of the basic troubleshooting offered by users on this forum. Off to a more tech savvy spot to get an answer.
     
  3. shel1 macrumors newbie

    Joined:
    Oct 26, 2012
    #3
    Try explaining yourself better so it's clearer what you are trying to do?

    To start, is a public IP on the Internet you are trying to do this with or a private LAN address? If I a private LAN address, is it part of the same subnet? More detail/a better explanation is needed.

    Either that or chuck us a crystal ball please ;)
     
  4. OldSchoolMacGuy thread starter macrumors 68030

    OldSchoolMacGuy

    Joined:
    Jul 10, 2008
    #4
    Looking to take an external public IP address and redirect a software program's attempts to contact it back to my local IP address (localhost or 127.0.0.1). Simply blocking the connection all together (using something like Little Snitch) isn't what I'm looking to do.

    The host file allows redirection of server names such as google.com but not of IP addresses.
     

Share This Page