Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a Snow Leopard Mac, play Warcraft 3 and the router is an Asus RT-G32.

Situation is so: The task is to forward requests going to to another IP address. I have no idea how to do it in OS X. The question is – how to spoof DNS name (or IP), and change it to another?

Hosts file has no luck :(

Man, it's not working (ip is ip):

new gateway ip
new gateway ip
new gateway ip
new gateway ip
new gateway ip
new gateway ip
new gateway ip

no result :( - it still address to

share|improve this question
"very stupid, very unclean"... I like the disclaimer :) I wish I knew the answer. – Flimzy Jun 24 '11 at 20:59

You need to modify the host file on you system. You can find the instructions here.

Edit the /private/etc/hosts file.

Add a line the the file in such a manner:

New IP(or host) Old IP(or host): localhost
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .