Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HeRO on Linux
Author Message
green_meep Offline
Junior Member
**

Posts: 5
Joined: Jan 2011
Post: #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 all posts by this user Quote this message in a reply
Former-GM-Vanadis Offline
Senior Member
****

Posts: 504
Joined: May 2008
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
green_meep Offline
Junior Member
**

Posts: 5
Joined: Jan 2011
Post: #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 all posts by this user Quote this message in a reply
Ange Offline
Senior Member
****

Posts: 254
Joined: Aug 2009
Post: #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 all posts by this user Quote this message in a reply
green_meep Offline
Junior Member
**

Posts: 5
Joined: Jan 2011
Post: #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 all posts by this user Quote this message in a reply
Jens Offline
Weird Spider Sir
*****

Posts: 1,571
Joined: Jun 2010
Post: #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 all posts by this user Quote this message in a reply
doomsweek Offline
Junior Member
**

Posts: 11
Joined: Aug 2008
Post: #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 all posts by this user Quote this message in a reply
Jens Offline
Weird Spider Sir
*****

Posts: 1,571
Joined: Jun 2010
Post: #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 all posts by this user Quote this message in a reply
doomsweek Offline
Junior Member
**

Posts: 11
Joined: Aug 2008
Post: #9
RE: HeRO on Linux

WOOT!

I mixed up ipconfig and iptables. My bad.
01-19-2011 09:08 AM
Find all posts by this user Quote this message in a reply
green_meep Offline
Junior Member
**

Posts: 5
Joined: Jan 2011
Post: #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 all posts by this user Quote this message in a reply
Post Reply 


Forum Jump: