Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HeRO on Linux
green_meep Offline
Junior Member
**

Posts: 5
Threads: 1
Joined: Jan 2011
#1
HeRO on Linux
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.
[Image: 1n7S5.png]
(This post was last modified: 01-19-2011, 01:34 AM by green_meep.)
01-05-2011, 05:10 PM
Find Reply
Former-GM-Vanadis Offline
Senior Member
****

Posts: 504
Threads: 30
Joined: May 2008
#2
RE: HeRO on Mac
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.
Something to report to the GMs? Use the heRO support ticket system!

Wondering what custom content is in heRO? Check out the heRO Wiki!
01-06-2011, 07:06 AM
Website Find Reply
green_meep Offline
Junior Member
**

Posts: 5
Threads: 1
Joined: Jan 2011
#3
RE: HeRO on Mac
Yeah, that's the problem I was having; ipfw just isn't doing it for me. Thanks though!
[Image: 1n7S5.png]
(This post was last modified: 01-06-2011, 02:54 PM by green_meep.)
01-06-2011, 02:53 PM
Find Reply
Ange Offline
Senior Member
****

Posts: 254
Threads: 19
Joined: Aug 2009
#4
RE: HeRO on Mac
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.
01-08-2011, 10:54 AM
Find Reply
green_meep Offline
Junior Member
**

Posts: 5
Threads: 1
Joined: Jan 2011
#5
RE: HeRO on Mac
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".
[Image: 1n7S5.png]
01-19-2011, 01:32 AM
Find Reply
Jens Offline
Weird Spider Sir
*****

Posts: 1,537
Threads: 20
Joined: Jun 2010
#6
RE: HeRO on Linux
I'm gonna sound like an idiot but I can't figure out the false IP. Wine doesn't have ipconfig x_x
[Image: 4NuAbXh.png]
01-19-2011, 07:14 AM
Find Reply
doomsweek Offline
Junior Member
**

Posts: 11
Threads: 3
Joined: Aug 2008
#7
RE: HeRO on Linux
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
(This post was last modified: 01-19-2011, 09:10 AM by doomsweek.)
01-19-2011, 07:56 AM
Find Reply
Jens Offline
Weird Spider Sir
*****

Posts: 1,537
Threads: 20
Joined: Jun 2010
#8
RE: HeRO on Linux
(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.
[Image: 4NuAbXh.png]
(This post was last modified: 01-19-2011, 08:21 AM by Jens.)
01-19-2011, 08:12 AM
Find Reply
doomsweek Offline
Junior Member
**

Posts: 11
Threads: 3
Joined: Aug 2008
#9
RE: HeRO on Linux
WOOT!

I mixed up ipconfig and iptables. My bad.
01-19-2011, 09:08 AM
Find Reply
green_meep Offline
Junior Member
**

Posts: 5
Threads: 1
Joined: Jan 2011
#10
RE: HeRO on Linux
I must have put in the wrong "real" IP address then, it works now, thanks!
[Image: 1n7S5.png]
01-19-2011, 06:43 PM
Find Reply


Forum Jump: