Jump to content

Can't connect to Linux VPS based server


0cyris

Recommended Posts

Server is running CentOS 7.2 x64 hosted by Digital Ocean have also tried Debian and Ubuntu.

Every time someone tries to connect it fails with "onP2PSessionConnectFail" even without a firewall of any kind.

 

I've tried just about everything I can think of and haven't been able to find anyone else with a working solution.

Link to comment
Share on other sites

Just tried disabling them with the same result.

 

The only other thing I've notice is in netstat with the address it's sending connections from when someone attempts to connect.  

netstat -atunp | grep Project
tcp        0      0 10.13.0.5:55174         0.0.0.0:*               LISTEN      3063/./ProjectZombo
tcp        0      1 10.13.0.5:54385         192.168.0.10:52870      SYN_SENT    3063/./ProjectZombo
tcp        0      1 10.13.0.5:49918         192.168.56.1:52871      SYN_SENT    3063/./ProjectZombo
tcp6       0      0 :::27015                :::*                    LISTEN      3063/./ProjectZombo
udp        0      0 10.13.0.5:51419         0.0.0.0:*                           3063/./ProjectZombo
udp        0      0 10.13.0.5:55068         0.0.0.0:*                           3063/./ProjectZombo
udp        0      0 0.0.0.0:16261           0.0.0.0:*                           3063/./ProjectZombo
udp        0      0 10.13.0.5:51188         0.0.0.0:*                           3063/./ProjectZombo
udp        0      0 0.0.0.0:8766            0.0.0.0:*                           3063/./ProjectZombo

Does it create some kind of tunnel?  I know I don't have any interface up with an IP of 10.13.0.5 and since it's a non-routable address that's the only thing I can think of.

Link to comment
Share on other sites

The only thing Digital Ocean was able to offer was it might be picking up the anchor IP use for their floating IP feature.  Doesn't seem like much can be done without being able to configure IP address binding.

 

As I said before Linode works great and has similar pricing so that my solution for now.

Link to comment
Share on other sites

Odd, as Kirrus was running a PZ co-op server through Digital Ocean successfully. I wonder if he had to do anything special to set it up.

 

Not sure on the IP binding . . . I -think- EasyPickins added a flag for it, but will have to check.

 

Yep. e.x. zombie.network.GameServer -ip 127.0.0.1

Link to comment
Share on other sites

  • 2 years later...

Thanks 0cyris! It was the anchor ip. I've been troubleshooting this for hours, but deleting the anchor ip fixed it.

  1. Find out your server's anchor ip

    curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/anchor_ipv4/address
    
  2. Confirm that the anchor ip exists:

    ip addr list
    
  3. Delete your anchor ip

    ip addr delete <anchor ip + mask> dev eth0
    
    example: ip addr delete 10.46.0.6/16 dev eth0
    
  4. Confirm that anchor ip is deleted

    ip addr list
    

Should be good to go after that!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...