I would say my network configuration is fairly non-standard. My Router is a junker (with a Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz processor) desktop running CentOS. I have iptables doing firewall/nat, squid/dansguardian (with an iptables redirect) doing internet filtering, and openVPN on a bridged device to allow layer2 access to my home network from VPN clients (just my laptop and workstation at the office).
br0 is the virtual bridge, and you'll see that eth0 (physical built-in GigE) and tap0 (virtual device for the openVPN service) are attached to it. This is the gateway interface for all devices on my LAN. tun0 is the cisco VPN (that sucks IMO) that I'm "supposed" to use for work, but my openVPN connection is much more stable.
In general, things work great. Because EQEMU doesn't build on 64-bit systems, I decided to try and take the complexity of trying to build a 32-bit binary on a 64-bit machine by installing CentOS 32-bit in a VM. It went well, and I had no issues running the server from inside the VM, using iptables to portforward to the VM.
I don't need the VM, so I copied the data to the 64-bit OS, (installed the missing i386 rpms) and the server seemed to run fine. However, when I try to connect with my client, I got:
Code:
22225 [05.09. - 15:48:42] [NET__ERROR] 10.9.8.2:57355: Received OP_SessionRequest in ESTABLISHED state (0)
22225 [05.09. - 15:48:58] [NET__ERROR] 10.9.8.2:57355: Received OP_SessionRequest in ESTABLISHED state (0)
Googling suggested that there is a problem with the way IPs are communicated to the client. So I statically set my LAN and WAN ips in the eqemu_config.xml file, and clients are able to connect now.
I'll try to pick this apart a little more later, but I need to run for now. Any ideas what the problem is? Suggested resolutions?
Code:
br0 Link encap:Ethernet HWaddr 00:24:81:ED:2D:E5
inet addr:10.9.8.1 Bcast:10.9.8.255 Mask:255.255.255.0
inet6 addr: fe80::224:81ff:feed:2de5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:67457095 errors:0 dropped:0 overruns:0 frame:0
TX packets:44750010 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13845612189 (12.8 GiB) TX bytes:166189726342 (154.7 GiB)
eth0 Link encap:Ethernet HWaddr 00:24:81:ED:2D:E5
inet6 addr: fe80::224:81ff:feed:2de5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:61869914 errors:0 dropped:0 overruns:0 frame:0
TX packets:128803143 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8907272573 (8.2 GiB) TX bytes:305683407611 (284.6 GiB)
Memory:f0180000-f01a0000
eth1 Link encap:Ethernet HWaddr 00:0A:CD:19:14:7C
inet addr:71.195.208.39 Bcast:255.255.255.255 Mask:255.255.252.0
inet6 addr: fe80::20a:cdff:fe19:147c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:318861343 errors:205 dropped:422 overruns:119 frame:0
TX packets:71343517 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:132203390437 (123.1 GiB) TX bytes:25092296785 (23.3 GiB)
Interrupt:209 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:26815275 errors:0 dropped:0 overruns:0 frame:0
TX packets:26815275 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:32066337738 (29.8 GiB) TX bytes:32066337738 (29.8 GiB)
tap0 Link encap:Ethernet HWaddr 16:A3:52:9B:C2:4D
inet6 addr: fe80::14a3:52ff:fe9b:c24d/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:1090418 errors:0 dropped:0 overruns:0 frame:0
TX packets:1600768 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:493715703 (470.8 MiB) TX bytes:262383473 (250.2 MiB)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:172.30.90.2 P-t-P:172.30.90.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1412 Metric:1
RX packets:508 errors:0 dropped:0 overruns:0 frame:0
TX packets:355 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:578661 (565.0 KiB) TX bytes:33720 (32.9 KiB)
Code:
[kai@server server]$ brctl show
bridge name bridge id STP enabled interfaces
br0 8000.002481ed2de5 no tap0
eth0