Port Forwarding virtualbox

Post Reply
lordpsyan
Posts: 3
Joined: Wed Nov 06, 2013 1:42 am

Port Forwarding virtualbox

Post by lordpsyan » Fri Nov 15, 2013 8:27 am

I run a debian 64 bit server. No matter what I tried I could not get this to work in 64 bit. I am a noob to ffxi, but have been running wow private servers, compiled myself, since 2007. I decided since I cannot downgrade to a 32 bit OS, that I would run virtualbox and install 32bit debian there. Everything went smoothly. Compile was flawless. I am still getting the same error as before:

Code: Select all

[07:09:10][Info] mapsession:10.0.2.2:54090 is coming to world...
[07:09:10][Info] parse: 00A | 0001 0000 2E from user: Cindy
[07:09:10][Debug] CZone:: Bastok_Markets IncreaseZoneCounter <1> Cindy
[07:09:12][Info] parse: 00A | 0002 0000 2E from user: Cindy
[07:09:12][Warning] Client cannot receive packet or key is invalid: Cindy
[07:09:14][Info] parse: 00A | 0003 0000 2E from user: Cindy
[07:09:14][Warning] Client cannot receive packet or key is invalid: Cindy
[07:09:16][Info] parse: 00A | 0004 0000 2E from user: Cindy
[07:09:16][Warning] Client cannot receive packet or key is invalid: Cindy
[07:09:18][Info] parse: 00A | 0005 0000 2E from user: Cindy
[07:09:18][Warning] Client cannot receive packet or key is invalid: Cindy
[07:09:20][Info] parse: 00A | 0006 0000 2E from user: Cindy
[07:09:20][Warning] Client cannot receive packet or key is invalid: Cindy
[07:09:22][Info] parse: 00A | 0007 0000 2E from user: Cindy
[07:09:22][Warning] Client cannot receive packet or key is invalid: Cindy
[07:09:24][Info] parse: 00A | 0008 0000 2E from user: Cindy
[07:09:24][Warning] Client cannot receive packet or key is invalid: Cindy
[07:09:26][Info] parse: 00A | 0009 0000 2E from user: Cindy
[07:09:26][Warning] Client cannot receive packet or key is invalid: Cindy
[07:09:28][Info] parse: 00A | 000A 0000 2E from user: Cindy
[07:09:28][Warning] Client cannot receive packet or key is invalid: Cindy
This is what I was getting on the 64bit server. Let's get some information:

Server IP is 70.38.68.194
VM IP is 10.0.2.15
VM sees host as 10.0.2.2

ports all forwarded to VM from ANY IP to VM IP. I have 0251789322 in zoneip in zone_settings and zoneport is 54230. On the client side, I am using Ashita boot. This is the line I am using in the config for connecting.

Code: Select all

<setting name="boot_command">--server 70.38.68.194 --user LordPsyan --pass dir12345 --lanf US --hairpin</setting>
I was unsure if "lanf" should be "lang" so I tried both. Now, if I remove the --hairpin, then I never see anything come up in the dsgame console, but the end result is the FFXI-3001 error. I have also tried using the IP in zoneip as 70.38.68.194 (or 3259245638 ) but same result.

I am completely lost. Killed my dedicated server's network twice, bringing it down for almost an entire day, trying to force the VM to use the 70. ip. The way my hosting company does things, I get 5 IP's but only 1 gateway, and the gateway is on another network, so it doesn't play well with others. Anyways, I cannot find any logs even thought I compiled with debugging.

If anyone has tried running this in a VM let me know. Also, I do not see why it would make a difference, it running in a VM, since it would just be like doing port forwarding on a router... Oh, a last note, the server sees the client as 10.0.2.2, and that is not my IP. that's the default host IP made up by VirtualBox

User avatar
atom0s
Developer
Posts: 537
Joined: Thu Oct 25, 2012 9:52 am

Re: Port Forwarding virtualbox

Post by atom0s » Fri Nov 15, 2013 10:59 pm

If you are able to get the "Client cannot receive packet or key is invalid" error then your ports are forwarded properly.
bluekirby was working on a 64bit patch for DSP that I think he didn't finish yet. That being said I don't think the blowfish encryption likes 64bit machines at this point. You are better off hosting it on a 32bit VM instead for now.

lordpsyan
Posts: 3
Joined: Wed Nov 06, 2013 1:42 am

Re: Port Forwarding virtualbox

Post by lordpsyan » Mon Nov 18, 2013 11:36 am

The VM is 32 bit.

doing a uname -r gives this:
3.2.0-4-686-pae
and I installed with the i386 debian 7 iso file.

I cannot figure this out. It should work fine, but the internal vbox port forwarding tells the server that all client ip's are 10.0.2.2 and this may be an issue. maybe I will try vmware.

Post Reply