Hey everyone,
I'm trying to run HeRO on a Mac (because WineHQ said the running is rated Gold). The problem is, WineHQ only gives directions for running it on Linux.
I've gotten so far as to figure out what the "false" IP and the "real" IP addresses are, but I'm not sure where to continue from there.
Thanks in advance.
What you have to do is figure out a way to redirect the packets sent to the false ip to the real ip. I'm doing it by using iptables in my linux firewall/router and sadly don't know how to do it directly in the mac.
Yeah, that's the problem I was having; ipfw just isn't doing it for me. Thanks though!
here's how I do it on linux
iptables -t nat -A OUTPUT -d 111.117.110.99 -j DNAT --to 67.205.124.138
iptables-save
run this as root after bootup.
Well, I used this as an excuse to get Linux, so I ran those exact commands. Instead of getting "Disconnected from server", it waits a little bit then gives "Failed to connect to server".
I'm gonna sound like an idiot but I can't figure out the false IP. Wine doesn't have ipconfig x_x
I used a program called
iptraf to figure out the fake I.P. address but you called also use
Wireshark or other similar programs.
For me, the fake I.P. address would be:
111.117.110.99
The real I.P. address could be found out by resolving heroserver.bounceme.net e.g.: host heroserver.bounceme.net
That returned
64.15.152.212 for me.
So assuming that fake I.P. address is
111.117.110.99, and the real I.P. address is
64.15.152.212, then the command to run + the options would be:
Code:
iptables -t nat -A OUTPUT -d 111.117.110.99 -j DNAT --to 64.15.152.212
Take note that you need to have superuser privileges to run it. So either login as root or run the above command with
sudo, e.g.:
Code:
sudo iptables -t nat -A OUTPUT -d 111.117.110.99 -j DNAT --to 64.15.152.212
(actually ipconfig's kinda older than Linux, it's a DOS thing)
Oh hey, I'm stupid. I thought the "fake" and "real" ip were relating to wine and my computer, so I was trying to find out what these are for my computer instead just copypasting the link and oh hey I'm connected.
WOOT!
I mixed up ipconfig and iptables. My bad.
I must have put in the wrong "real" IP address then, it works now, thanks!