We have moved to a new IP! Please head to the IP Switch wiki page for a quick guide on how to connect again.

The Outbreak servers are open source.

short notes for those not reading all the forums
User avatar
Isles487
Sr. Member
Posts: 1346
Joined: Sat Jul 27, 2013 6:10 pm

Re: The Outbreak servers are open source.

Postby Isles487 » Mon May 01, 2023 5:35 pm

Thank you very much to all of you who have shared information here. I have been wanting to set up a server for a long time so that I can play with friends over the internet without having to use a VPN or anything too complicated
There is no need for a VPN to connect to our server and play. The only issue we sometimes see is that ISPs block DNS inquiries to our DNS server, and if that is the case, you simply set up using https://obsrv.org/wiki/index.php?n=Setu ... eDNSSetups.
-In the /etc/dnsmasq.d/obcomsrv file I have put my server internal IP (address=/gate1.jp.dnas.playstation.org/192.168.50.167 &
address=/www01.kddi-mmbb.jp/192.168.50.167)
This needs to be set as your public IP, not your internal IP.
-In the /etc/dnsmasq.conf file I have put my server internal IP: listen-address=192.168.50.167,127.0.0.1 and I deleted the # before the listen address.
I would revert to commenting this out, likely no need to define the listening address manually.
Image

DharmaCorp
Newbie
Posts: 5
Joined: Sun Mar 24, 2019 12:15 am

Re: The Outbreak servers are open source.

Postby DharmaCorp » Mon May 01, 2023 10:59 pm

Thank you for your answer :)

I am aware of the servers on the forum and I have used them many times to play with my friends, but the problem is that we are from Spain, which adds some ping to the connection, and depending on the time, it becomes very difficult to play comfortably because enemies teleport around the map and some bosses are almost impossible to kill on high difficulty :)) .
That's why I saw a good opportunity to avoid this problem and learn something.

I have modified the parameters you mentioned, but I still have the 6xx error on the DNAS. However, I no longer get the "closes connection" error.
What I have noticed, while looking at the log in /var/apache/logs/dnas_errors.log, is a message regarding SSL & HTTP/HTTPS:

Code: Select all

[Mon May 01 22:42:48.350351 2023] [ssl:info] [pid 764:tid 139990964299520] [client XXX.XXX.XXX.XXX:7600] AH01964: Connection to child 0 established (server gate1.jp.dnas.playstation.org:443) [Mon May 01 22:42:48.350483 2023] [ssl:info] [pid 764:tid 139990964299520] [client XXX.XXX.XXX.XXX:7600] AH01996: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page [Mon May 01 22:42:48.350498 2023] [ssl:info] [pid 764:tid 139990964299520] SSL Library Error: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request -- speaking HTTP to HTTPS port!? [Mon May 01 22:42:48.448910 2023] [ssl:info] [pid 765:tid 139990964299520] [client XXX.XXX.XXX.XXX:7612] AH01964: Connection to child 64 established (server gate1.jp.dnas.playstation.org:443) [Mon May 01 22:42:48.449056 2023] [ssl:info] [pid 765:tid 139990964299520] [client XXX.XXX.XXX.XXX:7612] AH01996: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page [Mon May 01 22:42:48.449073 2023] [ssl:info] [pid 765:tid 139990964299520] SSL Library Error: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request -- speaking HTTP to HTTPS port!?

User avatar
Isles487
Sr. Member
Posts: 1346
Joined: Sat Jul 27, 2013 6:10 pm

Re: The Outbreak servers are open source.

Postby Isles487 » Tue May 02, 2023 12:03 am

Thank you for your answer :)

I am aware of the servers on the forum and I have used them many times to play with my friends, but the problem is that we are from Spain, which adds some ping to the connection, and depending on the time, it becomes very difficult to play comfortably because enemies teleport around the map and some bosses are almost impossible to kill on high difficulty :)) .
That's why I saw a good opportunity to avoid this problem and learn something.

I have modified the parameters you mentioned, but I still have the 6xx error on the DNAS. However, I no longer get the "closes connection" error.
What I have noticed, while looking at the log in /var/apache/logs/dnas_errors.log, is a message regarding SSL & HTTP/HTTPS:

Code: Select all

[Mon May 01 22:42:48.350351 2023] [ssl:info] [pid 764:tid 139990964299520] [client XXX.XXX.XXX.XXX:7600] AH01964: Connection to child 0 established (server gate1.jp.dnas.playstation.org:443) [Mon May 01 22:42:48.350483 2023] [ssl:info] [pid 764:tid 139990964299520] [client XXX.XXX.XXX.XXX:7600] AH01996: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page [Mon May 01 22:42:48.350498 2023] [ssl:info] [pid 764:tid 139990964299520] SSL Library Error: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request -- speaking HTTP to HTTPS port!? [Mon May 01 22:42:48.448910 2023] [ssl:info] [pid 765:tid 139990964299520] [client XXX.XXX.XXX.XXX:7612] AH01964: Connection to child 64 established (server gate1.jp.dnas.playstation.org:443) [Mon May 01 22:42:48.449056 2023] [ssl:info] [pid 765:tid 139990964299520] [client XXX.XXX.XXX.XXX:7612] AH01996: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page [Mon May 01 22:42:48.449073 2023] [ssl:info] [pid 765:tid 139990964299520] SSL Library Error: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request -- speaking HTTP to HTTPS port!?
Can you please post a picture of:

1) Your port forwarding rules
2) Following files: /etc/dnsmasq.d/obcomsrv
config.properties
Image

DharmaCorp
Newbie
Posts: 5
Joined: Sun Mar 24, 2019 12:15 am

Re: The Outbreak servers are open source.

Postby DharmaCorp » Tue May 02, 2023 2:59 am

Here the info:

Image

/etc/dnsmasq.d/obcomsrv:

address=/gate1.jp.dnas.playstation.org/ISP ip
address=/www01.kddi-mmbb.jp/ISP ip

config.properties(is the same for ob1 and ob2):

# IP address for gameserver
gs_ip=ISP ip

# credentials for the database
db_user=bioserver
db_password=XXXXXXX

User avatar
Isles487
Sr. Member
Posts: 1346
Joined: Sat Jul 27, 2013 6:10 pm

Re: The Outbreak servers are open source.

Postby Isles487 » Tue May 02, 2023 4:19 am

Here the info:

Image

/etc/dnsmasq.d/obcomsrv:

address=/gate1.jp.dnas.playstation.org/ISP ip
address=/www01.kddi-mmbb.jp/ISP ip

config.properties(is the same for ob1 and ob2):

# IP address for gameserver
gs_ip=ISP ip

# credentials for the database
db_user=bioserver
db_password=XXXXXXX
With the setup changed to the newer values, are you still able to connect to your server successfully from within your network?

What is the DNAS error number that users are receiving?

If your friends type in CMD prompt:

Code: Select all

nslookup gate1.jp.dnas.playstation.org your_public_ip
do they get the right response?
Image

DharmaCorp
Newbie
Posts: 5
Joined: Sun Mar 24, 2019 12:15 am

Re: The Outbreak servers are open source.

Postby DharmaCorp » Wed May 03, 2023 3:21 pm

Sorry yesterday I didn't have time to check but I did the tests today and here the update:
are you still able to connect to your server successfully from within your network?
Yes, connection in LAN still ok.

I have tried doing an nslookup on both the private and public address locally, and both have responded correctly. However, when my friends try to do an nslookup pointing to the public IP, the address does not resolve :(

I have also tried checking if ports 53, 8300, etc. are open or not using https://www.yougetsignal.com/tools/open-ports/ and yes, open.

I still need to try in the PCSX2 configuration under the DNS section, if I could directly put the URL + public IP there and see if my friends can connect that way :))

User avatar
Isles487
Sr. Member
Posts: 1346
Joined: Sat Jul 27, 2013 6:10 pm

Re: The Outbreak servers are open source.

Postby Isles487 » Wed May 03, 2023 4:43 pm

I have tried doing an nslookup on both the private and public address locally, and both have responded correctly. However, when my friends try to do an nslookup pointing to the public IP, the address does not resolve :(

I have also tried checking if ports 53, 8300, etc. are open or not using https://www.yougetsignal.com/tools/open-ports/ and yes, open.

I still need to try in the PCSX2 configuration under the DNS section, if I could directly put the URL + public IP there and see if my friends can connect that way :))
So, what might be happening is that your friends' routers or ISPs are not allowing DNS inquiries to certain DNS addresses, so they can't use your DNS server. There is a guide for setting DNS manually here: https://obsrv.org/wiki/index.php?n=Setu ... eDNSSetups. Your friends can use that and simply substitute your public IP address for all 3 of those values.
Image

DharmaCorp
Newbie
Posts: 5
Joined: Sun Mar 24, 2019 12:15 am

Re: The Outbreak servers are open source.

Postby DharmaCorp » Fri May 05, 2023 10:55 pm

I have tried doing an nslookup on both the private and public address locally, and both have responded correctly. However, when my friends try to do an nslookup pointing to the public IP, the address does not resolve :(

I have also tried checking if ports 53, 8300, etc. are open or not using https://www.yougetsignal.com/tools/open-ports/ and yes, open.

I still need to try in the PCSX2 configuration under the DNS section, if I could directly put the URL + public IP there and see if my friends can connect that way :))
So, what might be happening is that your friends' routers or ISPs are not allowing DNS inquiries to certain DNS addresses, so they can't use your DNS server. There is a guide for setting DNS manually here: https://obsrv.org/wiki/index.php?n=Setu ... eDNSSetups. Your friends can use that and simply substitute your public IP address for all 3 of those values.
Yes, with that now they can connect!
So thanks a lot :)

User avatar
Isles487
Sr. Member
Posts: 1346
Joined: Sat Jul 27, 2013 6:10 pm

Re: The Outbreak servers are open source.

Postby Isles487 » Sat May 06, 2023 2:42 am

I have tried doing an nslookup on both the private and public address locally, and both have responded correctly. However, when my friends try to do an nslookup pointing to the public IP, the address does not resolve :(

I have also tried checking if ports 53, 8300, etc. are open or not using https://www.yougetsignal.com/tools/open-ports/ and yes, open.

I still need to try in the PCSX2 configuration under the DNS section, if I could directly put the URL + public IP there and see if my friends can connect that way :))
So, what might be happening is that your friends' routers or ISPs are not allowing DNS inquiries to certain DNS addresses, so they can't use your DNS server. There is a guide for setting DNS manually here: https://obsrv.org/wiki/index.php?n=Setu ... eDNSSetups. Your friends can use that and simply substitute your public IP address for all 3 of those values.
Yes, with that now they can connect!
So thanks a lot :)
Aaaay! Good to hear!
Image

User avatar
hobbes_182
Sr. Member
Posts: 271
Joined: Thu Jan 23, 2014 12:08 am
Location: _mobius
Contact:

Re: The Outbreak servers are open source.

Postby hobbes_182 » Fri May 12, 2023 4:22 am

Glad to hear you have started to host :)

The help on the forum is great, I'm the dumbest person I know, thanks to everyone on the thread I was able to get my server up and running too :)
GOBLIN6 - Resident Evil Fan Site : GOBLIN6 - Resident Evil Forum

[ Phat PS2 : Final Fantasy XI HDD : OSSC ]
Image

punzer_punk
Newbie
Posts: 1
Joined: Fri May 10, 2024 11:15 pm

Re: The Outbreak servers are open source.

Postby punzer_punk » Sun May 12, 2024 12:02 pm

Hi there!
I created docker biohazard repository. I will update docs and repo as soon as possible.
Feel free to contribute.
https://github.com/panzer-punk/bioserve ... ree/master

DrSausages
Newbie
Posts: 1
Joined: Sat Aug 03, 2024 8:59 pm

Re: The Outbreak servers are open source.

Postby DrSausages » Thu Aug 15, 2024 10:48 pm

Hi everyone,

I'm new around here- and hopefully this will be a good way to introduce myself

I'm really impressed with this forum and the work that has been done to keep this alive and I couldn't help but get involved

I've been working on trying to get this to work on a Raspberry-Pi 5, and I'd like to present my working image which you can place onto an SD card using Win32 disk imager (or similar)


This is still a work in progress but it's fully capable of playing online locally
(although I haven't tested over the internet)


https://1drv.ms/u/s!Am5flKH1ILW3gcTnL7c ... I?e=eQnJY7

(I'll probably look at hosting this outside of my onedrive at some point)



It's currently set up with...

hostname obcomsrv

Using Latest Raspberry Pi OS (64-bit) Debian version: 12 (bookworm)

IP is set to static 192.168.1.99 - you can change this in sudo nano /etc/dhcpcd.conf
I've commented both the eth0 and wlan0 to ip 192.168.1.99 but commented out the wlan
If you want your pi to run on wireless simply comment out eth0 and uncomment wlan0



I've kept most of the setup from refan988's VM with some fixes here and there to get around issues with mysql functions being deprecated





user: pi
password: raspberry

I used a 32gb SD card - sorry but I haven't got around to making this smaller yet so the image is 32GB in size

Localization is UK/English - I realise most of you guys are probably US based but it's easy enough to change


database details is the same as refan988's version (off top of head I think its bioserver and admin as password?)
- there's 2 test users currently set up for both file1 and file2 called 'test' and 'test2' - passwords match the names
- I'll delete these users in a later version



Runs PHP-7 - I've had to rewrite some of the php files to get this to work as mysql functions were deprecated for mysqli functions in PHP7

Firewall disabled but ports should be in place for enabling it and still allowing for private play (although I haven't tested this). Haven't enabled anything that would allow Internet access

Definitely not set up for public play - I would not advise running this on the internet unless someone a lot smarter than me checked it
- I'm fairly new to linux and java/php is not my strong point




Samba shares set up inside /etc/samba/smb.conf
for the following

/home/pi
/var
/etc

can be disabled as necessary which can be done with...

sudo systemctl disable smbd
sudo systemctl disable nmbd





I kind of messed up the site and I think I've got 2 copies of the webpages in each of the directories - will be cleaning this up later


Following code has been modified to fix the php5 to php7 issues
login_form
db_cred
possibly some others




Note: if you can do a better job you don't have to use my image - everyone is more than welcome to copy the modified files for the site so that php7 works

You should be able to use these files to get pretty much anything running (I'm using a Pi5 with Debian 12/Raspberry Pi OS, but there's no reason you couldnt get this running on a Pi4 or other device if you can figure out the prereqs installs

I've left all the prereqs inside the pi home directory so you can see what's there and manually install them yourselves

note the prereqs are very annoying because some of the prereqs have prereqs which also have prereqs - goodluck with that




PCSX2

I'm using v2.02 so it's as simple as settings > Network & HDD and entering DNS1 Address as 192.168.1.99 - if you change the static ip make sure to update this



Issues:
The server scripts run at startup, however there's a weird issue where they dont sometimes show up when you load the pi (at least mine didnt when I imaged a new SD card using this image)
But...
If you remotely connect in with mstsc (I'm primarily a windows user) they are there and running
If there's any issues just manually double click them and I'll fix this in a later build




Warning:
Will just re-iterate again- I'm not the best at java, php or Linux. Do not run this online unless you know what you are doing and you can check and verify my work




Sorry this is a rushed job, I'm on holiday tomorrow so it's very last minute
But hoping to look at this more when I get back


Return to “News”



Who is online

Users browsing this forum: No registered users and 1 guest