heRO-Server Forum
HeRO on Linux - Printable Version

+- heRO-Server Forum (https://www.pandoraonline.net/forum)
+-- Forum: Game Related (/forumdisplay.php?fid=1)
+--- Forum: Help & Support (/forumdisplay.php?fid=22)
+--- Thread: HeRO on Linux (/showthread.php?tid=17948)



HeRO on Linux - green_meep - 01-05-2011 05:10 PM

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.


RE: HeRO on Mac - Former-GM-Vanadis - 01-06-2011 07:06 AM

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.


RE: HeRO on Mac - green_meep - 01-06-2011 02:53 PM

Yeah, that's the problem I was having; ipfw just isn't doing it for me. Thanks though!


RE: HeRO on Mac - Ange - 01-08-2011 10:54 AM

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.


RE: HeRO on Mac - green_meep - 01-19-2011 01:32 AM

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".


RE: HeRO on Linux - Jens - 01-19-2011 07:14 AM

I'm gonna sound like an idiot but I can't figure out the false IP. Wine doesn't have ipconfig x_x


RE: HeRO on Linux - doomsweek - 01-19-2011 07:56 AM

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



RE: HeRO on Linux - Jens - 01-19-2011 08:12 AM

(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.


RE: HeRO on Linux - doomsweek - 01-19-2011 09:08 AM

WOOT!

I mixed up ipconfig and iptables. My bad.


RE: HeRO on Linux - green_meep - 01-19-2011 06:43 PM

I must have put in the wrong "real" IP address then, it works now, thanks!