ID:809893
 
Hi. I'm trying to host Mitadake High as a test to see if I can make my Linux system can host a server. First, I used port forwarding to open port 2501 on the router. Then, I ran the following commands in the shell:

~$ mkdir BYOND_SERVER_TEST

~$ cd BYOND_SERVER_TEST

~/BYOND_SERVER_TEST$ wget http://www.byond.com/download/build/495/ 495.1136_byond_linux.zip

~/BYOND_SERVER_TEST$ unzip 495.1136_byond_linux.zip

~/BYOND_SERVER_TEST$ cd byond

~/BYOND_SERVER_TEST/byond$ make here

~/BYOND_SERVER_TEST/byond$ source /home/yuki/BYOND_SERVER_TEST/byond/bin/byondsetup


Since there is a problem with DreamDownload as posted at http://www.byond.com/forum/?post=87637 , I downloaded the files through a Windows XP VM and copied them to /home/yuki/.byond/MyHub/ .


~/BYOND_SERVER_TEST/byond$ DreamDaemon /home/yuki/.byond/MyHub/devourerofsouls/mitadakehigh/Pryce\ High\ School/Pryce\ High\ School.dmb 2501 -safe -public


This last command outputs:

Mon Jun 11 11:15:08 2012
World opened on network port 2501.
Welcome BYOND! (4.0 Public Version 495.1136)
The BYOND hub reports that port 2501 is not reachable.


Here is my system information:

$ uname -a
Linux Eren 2.6.32-40-generic #87-Ubuntu SMP Tue Mar 6 00:56:56 UTC 2012 x86_64 GNU/Linux


I've tried the same thing from Windows 7 on my other partition, but I get the same error. How can I fix this?
This implies your port forward is not set up correctly. Can you give us a bit of an overview of your home network and the IP addresses involved?
Sure-sure. Here is the status of the router,

http://i49.tinypic.com/2cyllr9.png

and here is the port-forwarding page.

http://i50.tinypic.com/24oosu9.png


I'm hosting from a wireless network, and this is the output of ifconfig.

$ ifconfig
eth0 Link encap:Ethernet HWaddr 64:31:50:85:74:9f
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:27 Base address:0x2000

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:117 errors:0 dropped:0 overruns:0 frame:0
TX packets:117 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9316 (9.3 KB) TX bytes:9316 (9.3 KB)

wlan0 Link encap:Ethernet HWaddr 68:a3:c4:05:26:b0
inet addr:192.168.2.5 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::6aa3:c4ff:fe05:26b0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:43089 errors:0 dropped:0 overruns:0 frame:0
TX packets:41263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:26576950 (26.5 MB) TX bytes:10989890 (10.9 MB)
Your WAN IP address is in the private 192.168.1.0/24 range. This kind of implies that your router is connecting to something else that is performing NAT, and so another device that needs to perform port forwarding.

What is your router connected to, for going out to the internet?
That was the problem. I forgot I was going through two routers. Port-forwarding through the other one fixed the problem. Thanks, Stephen.