Jump to content

Search the Community

Showing results for tags 'VPS'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Twitter


Interests

Found 3 results

  1. I would like to run a server on my Windows VPS. The issue that I wouldn't like to transfer the entire 1.5GB to the VPS just to run a server and keep doing that every time for each update. So, my question is: What files are necessary to just run a server? Perhaps this has been posted somewhere and I'm blind, but I haven't seen anything and I have spent some time Googling.
  2. Please grab a coffee, it's a long one. Specs of VPS: ~2GB RAM, Openvz CentOS 7 linux. I yum install java, screen, did the glibc installation as advised on the wikipedia page of steamcmd for centOS (glibc-2.17-55.el7_0.5.x86_64 || glibc.i686 and libstdc++.i686), then headed here, checked this link for glibc's -common, -headers and -devel, just in case. Problem #1: NullPointerException when listed as public server Here are the changes I made to the Zomboid/Server/servertest.ini PauseEmpty=truePVP=falsePublic=truePublicName=centosPublicDescription=lowcapsPublicPlayers=15The unique error I get running ./projectzomboid-dedi-server.sh on root (just to make sure it's not a permissions type problem) [ps. ram values set at 1024] Common header while launching: Exceptions: So I changed the servertest.ini to non-public PauseEmpty=truePVP=falsePublic=falsePublicName=PublicDescription=PublicPlayers=15And I get no NullPointerException like the one above, i'm not sure if this is the actual symptom that is preventing me from connecting to my own VPS. Problem #2: translator: failed to parse Recipes for language=EN This occurs both in the public and nonpublic listed options for modifying servertest.ini this problem does not change. I played enough hours to know worms and berries exists in single player, so I thought something is wrong here. I'm not sure if this is affecting the connection problem of client to server. Problem #3: I can't connect from Canada IP (my location) to Chicago IP (server) Obligatory background info: So when I first ssh'd into the VPS I had a warning of 4k login attempts, found out it was at a rate of 136 login attempts per minute from a single china IP, so I set up fail2bail. And since I didn't know anything about firewalld, I installed iptables, like the old CentOS I'm used to, ban-defended my box until it was down to 24 attempts per 10 hours and I caught around over a dozen IPs. so I have both iptables and firewallD, and I opened both on TCP 16261 - 16275, for the 15 player limit I'm imposing. iptables firewallD Even running without public server settings under servertest.ini I can't connect to the VPS, where I can join servers on public servers, I get this: sendto failed with code -1 for char 5 and length 1464.in the ProjectZomboid.exe repeated about ~3 times every time I try. It's like I'm trying to join a non-existing server. Full Logs: Full Logs from default launch script With public setting Without public setting Full Logs from network firewall settings Iptables and firewallD Thanks for reading in advance if you need further information of anything I'll provide in reply asap What I tried: Checking yum for updates Deleting folders of steamcmd, zomboid dedicated script directory, zomboid server ini file folder. Restarted CentOS VPS Network troubleshooting: This might be a network problem, so I nmap -PN -p 16261 -sN (PZ IP)on some public servers to see what their ports are like for the game, and some public servers have it as "open/filtered" under TCP. While mine's under "open/filtered" as well. So I'm now using tcpdump, by now I changed iptables to 16261-16281 that allows all tcp traffic destined port range from 16261-16281 in a line like this. tcpdump -s 6300 dst portrange 16261-16281 -w tcpfileI'm grabbing a snippet of when I launched the script and results. Here's what I did, to trigger the above. TCPDUMP Monitoring method used: I'm assuming the ip from port 55101 is from the public server authenticator. Btw I changed the game port from 16261 to 16262 from that .ini file for server settings, in order to test if that was working as intended. It is So I ran tcpdump -s 6300 dst portrange 16261-16281 -w tcpfile again but this time no public server, it's just the above results without port 55101's server. Then I ran tcpdump -s 6300 src portrange 16261-16281 -w tcpfileTwice, with the same conditions as above, once without public server setting, one with, with the default tcpdump method, no packets were from source of these port ranges. At this point, I tried everything, to my capabilities. So I decided to monitor all traffic that's not port 22, that's default SSH port at the time. tcpdump -s 6300 port not 22 -w tcpfileAnd I got this in return. Using the above quoted default tcpdump method. Analysis of Network packets. Intel gathered from this is: the 198.41.247.217 IP, reverse looks up = project zomboid's main website. mort.positive-dedicated.net i'm assuming is the authenticating server? Something happened between vps and pz's a handshake that allowed mort.positive-dedicated.net to communicate with my VPS, then following a ICMP code 1, where my VPS has the "host unreachable, admin prohibited" could be from IPtables? When I wake up in the afternoon I might just allow traffic from those specific IPs and ports, and maybe things will change for the better? Good news, I tested fate and systemctl stop iptables./projectzomboid-dedi-server.shconnected with my client pc YAY! it worked!systemctl start iptablessystemctl restart fail2banInstant >40 IP ban cause chinese hackers are still botnetting muh IP So now, I know it's iptables settings. What would I need to do for the traffic to be allowed? we'll find out! iptables -A INPUT -p tcp --dport 16261:162XX -j ACCEPTiptables -A INPUT -p udp --dport 16261:162XX -j ACCEPTEverything works as intended, you need TCP and UDP to get it working haha. This windmil journey for ports. Sigh.... Is this what normal traffic is like for a server that is working or is my VPS host the one that's limiting this connection somehow? or is this all within the libraries? Please help!
×
×
  • Create New...