Port Forwarding virtualbox
Posted: 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:
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.
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
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
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 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