Jump to content

ServerArk Network IP Address


Recommended Posts

I'm a little confused by this section in the serverark.conf

 

# Network:

# No default, you MUST specify this!

# This is the IP address (or address/bits for multiple addresses) on which

# ServerArk will monitorUDP packets. For example, if you have 1 address,

# simply enter it. If you have several, then enter the address/bits pair.

# For example, 192.168.1.0/24 covers all addresses that match 192.168.1.X,

# and 192.168.0.0/16 covers 192.168.X.X addresses.

# The libpcap filter used by ServerArk is 'ip and udp and dst net network'

 

Now it says to just enter the server's ip address if you just have 1 address. 192.168.1.0/24 would cover every ip address after the 1 (192.168.1.X). What if you only wanted to protect 2 IP addresses though, what would you enter then?

Link to comment

That's a bit complicated. The server IPs use a series of bytes followed by dots (and each byte is 8 bits)

 

So really what you'd almost need to do is set it at 31, I think. It depends on what the two IP addresses are. If they're right next to each other, then..

192.168.1.1/31

would cover 192.168.1.10 and 192.168.1.11 (i think. don't hold me to this)

Link to comment

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...