#dedicated-servers

1 messages · Page 3 of 1

blazing halo
#

The worst had over 60.

#

Just... no.

quiet cairn
#

The only reason I use DMZ and MAC is because I heavily use Avahi anways. My hostname is merkyshadow and that will always give me back dymanic IP.

blazing halo
#

Meh. I like to have tight control over my shit, so everything is explicit, and what's not explicitly set up is not there.

storm elk
#

its a ghost

#

also for some reason my gas isn't leaving

blazing halo
# storm elk

Happens. I once had a spitter launch itself into the air and kill be by ramming.

storm elk
#

my brother threw some gas nobelisks

quiet cairn
storm elk
#

that was a few hours ago

blazing halo
storm elk
#

so I never ended up figuring out setting a static ip

#

does the ip of my device change?

blazing halo
#

It may.

#

That's why I asked you to set up a static lease.

#

It theoretically shouldn't if there's no pressure (since a device will re-request the IP it had last), but hell knows what's inside your router's DHCP algo.

storm elk
blazing halo
#

By the RFC, it should grant the requested lease if there're no other pressing concerns, but there are considerations that may be in play, and various implementations deal with stale records differently.

storm elk
#

I died

#

and my body was hanging under the map

#

then it all crashed

blazing halo
#

That sucks. :D

#

Still - if the server didn't crash, you can just rejoin.

storm elk
#

what happens if the server does/doesn't crash

#

can't I rejoin either way?

blazing halo
#

Huh? If it keeps running, it'll be fine. Or should be. From what I can tell, it can even bring death crates to the surface, which is nice.

#

If it crashes, you'll have to start it back up and you'll be back to where it last saved.

storm elk
#

the coal disappears

#

it goes to about my cross hair

#

then becomes invisible

blazing halo
#

It sometimes happens, yes.

#

This has to do with the fact that the game can't replicate zillions of individual objects and relies on motion prediction a lot of the time.

storm elk
#

does it use physics for conveyors?

blazing halo
#

Sometimes, it causes "disappearing resources" like that. As long as they end up where they need to, you're OK.

storm elk
#

or smoothly teleport them every frame along the belt

blazing halo
#

It would absolutely fucking kill performance.

#

Remember that you keep getting updates on shit from the server, 30 times a second.

storm elk
#

does it group them up?

blazing halo
#

There's no reason to update the position of every blob every time.

storm elk
#

like if there are multiple connected

#

does it just calculate for the front one

blazing halo
#

Hell if I know.

storm elk
#

and the others follow

storm elk
#

not like your a dev

blazing halo
#

All I know is that it clearly uses some algorithm to decide what to update - it's evident in how it behaves.

blazing halo
#

(though to be fair, replication and updates are strongly in the game logic area controlled by the devs)

#

Remember, this game is supposed to keep up to 4 players updated on possibly billions of objects.

storm elk
#

yeah

blazing halo
#

Think: massive factories pushing stuff all the time.

storm elk
#

I have tried making similar systems

#

they always don't go as planned once I scale it up

#

I made them all like trains

blazing halo
#

It stands to reason that the developers employ several solutions to minimise the amount of data and updating.

storm elk
#

yeah

blazing halo
#

It's a balancing act.

storm elk
#

optimization vs security vs graphics

blazing halo
#

You get to spam 600 units/min belts,

#

but you sometimes have to deal with disappearing blobs.

#

*shrugs*

#

It makes me snicker how people get their knickers in a twist about some of the bugs.

#

Like, dudes - it's fine, most of it's visual. Chill.

storm elk
#

yeah the game has to be insanely complicated to have this level of performance

blazing halo
#

This shit is incredibly complex at scale. I'm impressed it works this well.

unkempt karma
#

does anyone else get a random disappearing section of conveyer?

or a random reversal of a section of conveyors?

it doesnt happen often... but enough that I have to go through all my lines to make sure nothing got skewed over night 🤣

deft stirrup
#

Hey folks! Do you still have foliage removals not working on dedicated servers sometimes (or maybe always)?

blazing halo
#

tbh I haven't touched grass in weeks

unkempt karma
#

I haven't noticed anything...

but I've decided that the ONLY legitimate way to get rid of even the smallest shrub...

PIPE BOMBS!

#

cant wait to get the mini nuke pipe bombs... those pesky shrubs wont know what hit 'em

blazing halo
#

Or you could just... restart the server and see if you can pick greenery up again.

carmine vessel
#

Two days ago I wasn't able to remove a tree. But I was able to harvest the wood and foliage items indefinitely until I restarted the server and the tree become removable.

cosmic arch
#

dedicated Server Experience

#

One core always does more work than the others

#

Sad multithreading noises

storm elk
#

how do I start the server back up when I turn on my PC

#

do I just run the dedicated servers exe

#

and is it ok for me to just shut down my PC instead of closing the server in the satisfactory console?

quiet cairn
storm elk
#

uhh

#

im stuck

#

and frozen

storm elk
#

I can't grab the hard drive

#

nothing happens when I try to drag it

#

or shift/ctrl click it

visual spear
# storm elk I can't grab the hard drive

you most likely already have it in your inventory. it automaticly takes it out after you open it but it takes a weird amount of time. close the window and open it again.

blazing halo
#

If you close and reopen the crashed container, you'll see that it's empty.

#

It's a visual bug.

blazing halo
blazing halo
blazing halo
visual spear
frosty gale
#

I'm unable to connect to my server thru the server manager menu it just has the loading circle for ~30 secs and then gives me this error:

#

this is what the server is saying: [2022.08.03-19.02.20:578][336]LogDTLSHandler: Warning: Ignoring handshake packet received after completion. [2022.08.03-19.02.20:578][336]LogDTLSHandler: Warning: Ignoring handshake packet received after completion. [2022.08.03-19.02.20:579][336]LogDTLSHandler: Warning: Ignoring handshake packet received after completion. [2022.08.03-19.02.20:579][336]LogDTLSHandler: Warning: Ignoring handshake packet received after completion. [2022.08.03-19.02.20:579][336]LogDTLSHandler: Warning: Ignoring handshake packet received after completion. [2022.08.03-19.02.33:545][723]LogNet: Warning: UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 30.02, Real: 30.02, Good: 30.02, DriverTime: 736.97, Threshold: 30.00, [UNetConnection] RemoteAddr: 107.189.243.101:59549, Name: IpConnection_2147476795, Driver: IpNetDriver_2147476803 IpNetDriver_2147476803, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID [2022.08.03-19.02.33:546][723]LogNet: Error: UEngine::BroadcastNetworkFailure: FailureType = ConnectionTimeout, ErrorString = UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 30.02, Real: 30.02, Good: 30.02, DriverTime: 736.97, Threshold: 30.00, [UNetConnection] RemoteAddr: 107.189.243.101:59549, Name: IpConnection_2147476795, Driver: IpNetDriver_2147476803 IpNetDriver_2147476803, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID, Driver = IpNetDriver_2147476803 IpNetDriver_2147476803 [2022.08.03-19.02.33:546][723]LogGame: Error: Network Error Recived: Type: ConnectionTimeout, MSG: UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 30.02, Real: 30.02, Good: 30.02, DriverTime: 736.97, Threshold: 30.00, [UNetConnection] RemoteAddr: 107.189.243.101:59549, Name: IpConnection_2147476795, Driver: IpNetDriver_2147476803 IpNetDriver_2147476803, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID [2022.08.03-19.02.33:546][723]LogNet: NetworkFailure: ConnectionTimeout, Error: 'UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 30.02, Real: 30.02, Good: 30.02, DriverTime: 736.97, Threshold: 30.00, [UNetConnection] RemoteAddr: 107.189.243.101:59549, Name: IpConnection_2147476795, Driver: IpNetDriver_2147476803 IpNetDriver_2147476803, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID' [2022.08.03-19.02.33:546][723]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: 107.189.243.101:59549, Name: IpConnection_2147476795, Driver: IpNetDriver_2147476803 IpNetDriver_2147476803, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID, Channels: 1, Time: 2022.08.03-19.02.33 [2022.08.03-19.02.33:578][724]LogNet: UNetConnection::PendingConnectionLost. [UNetConnection] RemoteAddr: 107.189.243.101:59549, Name: IpConnection_2147476795, Driver: IpNetDriver_2147476803 IpNetDriver_2147476803, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID bPendingDestroy=0

#

It worked perfectly fine yesterday so I have no idea what happened

frosty gale
#

a reinstall appears to have fixed it even though I had verify files on already

blazing halo
frosty gale
#

hope you get it fixed soon!

storm elk
#

it looks like its running from my end but my friend can't connect to it

blazing halo
blazing halo
# storm elk

This indicates absolutely no communication. You are sure you have a public IP?

#

Verify everything again:

A) what are the server's ports?
B) are the ports open in the firewall?
C) are the ports correctly forwarded, to the correct LAN machine?
D) is your IP actually public?

storm elk
#

So someone in my own household can connect

#

Do I give the router IP address, my PCs address, or the public address

#

The public address is what is returned from myip.com and stuff right

blazing halo
blazing halo
storm elk
#

What does

blazing halo
#

Log into your router, please.

storm elk
#

K

blazing halo
#

Find a page (or a config setting) that says something like "Internet" or "WAN".

#

DM me a screenshot of that when you do.

storm elk
#

Wan IP address

#

That’s the public one right

#

There is also the router IP address

#

They are different

blazing halo
#

It's the WAN (or Inernet) IP address.

#

All it means is that it's the IP that's being assigned you by your ISP.

#

Can you please go to whatismyip.com and verify that the WAN IP and whatever that website shows are the same?

storm elk
#

It is

blazing halo
#

Okay, so you seem to have a public IP.

#

So your problem is likely in the port forwarding setup.

storm elk
#

What address do I give

blazing halo
#

Your public IP.

storm elk
#

K

#

Also for people on my network?

blazing halo
#

No.

storm elk
#

Or just outside of it

blazing halo
#

For people on your LAN you give the server machine's internal LAN IP.

#

In order to give people in your LAN your public IP, you would need to have NAT hairpinning configured correctly. I don't know if the state of that has improved, but last time I checked (ca 2015) it was abysmal.

#

(this is because you would need to explicitly tell your router what to do with packets that want to reach the WAN side, but come from the LAN side -- this is very confusing for it otherwise)

#

(it's the equivalent of walking outside your apartament, closing the door, turning around, and knocking - in any normal situation it makes little sense)

blazing halo
#

@storm elk and?

quiet cairn
#

If you want to use hostnames @storm elk. Avahi and Bonjor for windows is the only choice

storm elk
#

yeah I get it its hard for people on your network to try to use your public ip

rustic path
#

hey my items on the assembly lines are sometimes invisible or seem to stand ? can anyone help me? please

blazing halo
blazing halo
blazing halo
quiet cairn
quiet cairn
blazing halo
storm elk
#

after I type quit and it shows this am I good to close the terminal

fickle cliff
#

port issue?

#

feel like it cuz i have ipv6 on idk. xd

lunar topaz
#

How do i open dedicated server in ez est way

#

Pls teach me

fickle cliff
#

Follow wiki that's how

lunar topaz
#

Got it thx

blazing halo
# fickle cliff port issue?

No, your packets are being mangled somehow. Some program on either end seems to be messing with your packets.

cosmic sun
#

Does anyone know where sfserver core dumps can be reported to?

blazing halo
#

You may offer a download of the core dump file, but I personally would rather just note "Core dump available upon request." to let the devs know you have it and can provide it, without having to worry about maintaining an upload and/or potentially making sensitive information (if any such is contained in the dump) available publicly - especially since there's no guarantee that your QA submission will be looked at in the near future (or ever).

#

Otherwise: as far as I'm aware, there is no such place made specifically for uploading crash dumps.

fickle cliff
blazing halo
#

Either that, or the game is making a boo boo somehow... Do you have the date & time set correctly?

#

As far as I've seen, it's possible that the server uses encryption, which is sensitive to date/time settings.

fickle cliff
#

Only other thing I get is that steam api failed error try nosteam

#

I did that though still comes up lol

blazing halo
#

Yeah, that doesn't do anything.

#

Is your time all synced up correctly?

fickle cliff
#

I've noticed from reading the other 77 ppl asking about it haha

#

I'll look!

#

It's seems wrong. Def isn't my timezone maybe you right

#

I'll try tommrow, my time zone was wrong on windows maybe you a smarty but and right

fiery birch
#

i'm trying to manually save my experimental server just for safety before a reboot of the system and i keep getting : Failed to save game, game has invalid filename

#

what does that indicate? what should i do?

blazing halo
#

What's your session name? Can you screenshot it for us?

fiery birch
#

I restarted the machines and servers and all is fine.. idk what that was..

#

but before that, after a few tries saving the servers unsuccessfully the servers closed on their own..

blazing halo
#

I see... It must've been a bug, then.

plain sand
#

hey guys! when going for a dedicated experimental server, how much ram would it need to run smoothly?

fickle cliff
floral valley
#

Idk how to search for this problem, but i can't get back in to the host body after my game crashed. It spawned me in as a new guest and my old body is just sitting there

#

Does it matter?

blazing halo
blazing halo
# floral valley Does it matter?

It does not, but if you want to access your old body's inventory, you'll have to kill it. I don't know if ranged weapons help here, but if you have a melee weapon - there's no point in wasting ammo. ;)

#

It helps here that there aren't any "tribes" in this game, so everyone can access everything (otherwise, a new avatar would likely not belong to the same "tribe", and would have no access to anything).

floral valley
#

ok cool thanks. I get lonely so I built a toll booth around it.

#

Maybe I'll just leave it, there was a statue, but everything else was pretty replaceable.

#

They're watching the cctv signs on the wall.. might have to make this the control room, it's right above a nice waterfall in the desert

mint elm
#

hello i need help to update 5 my dedicated server, can someone help me i'm french

frosty gale
#

force_install_dir C:\GameServers\SatisfactoryServer +login anonymous +app_update 1690800 -beta public validate +quit

#

or are you trying to update to experimental?

mint elm
#

i try this command as u can see

#

no i don't want play experimental for now

frosty gale
#

its updated then

mint elm
#

on game i can't join because that is not update ..

#

my satis isn't experimental

frosty gale
#

yes I see

mint elm
#

okay my dedicated install an other one, idk why sry

blazing halo
# mint elm hello i need help to update 5 my dedicated server, can someone help me i'm frenc...

Il en a installé un autre car vous n'avez pas spécifié force_install_dir. L'erreur que vous recevez vous indique exactement ce que vous faites mal. L'erreur indique littéralement "Veuillez utiliser force_install_dir avant la connexion!" - pourquoi émettez-vous "login" en premier ?

( It installed another one because you failed to specify force_install_dir. The error you receive tells you exactly what you're doing wrong. The error literally says "Please use force_install_dir before logon!" - why do you issue "login" first?)

opal cypress
#

i am trying to increase the player limit on my server. However, when I edit the Game.ini file. it doesnt actually increase

#

is there anything extra I need to do?

opal cypress
#

I am using linuxgsm btw

knotty narwhal
#

it seems that both DS servers version (EA and Expertimental) at EGS points to the same Experimental version (195135.1164)

blazing halo
mint elm
#

i have this bug on my dedicated ,when i spawn a car another one black spawn i can't go on ( the real one yes ) and after that my car do a horrible sound like someone hit the car ,how can i repair that please ?

opal bear
#

Thats happens randomly on my dedicated too, but it usually goes away after a short time

mint elm
#

for me it's not random, it's everytime

blazing halo
mint elm
blazing halo
rich jay
#

what should i do

blazing halo
#

Do you want to play on Experimental or not?

#

If you want to play Experimental -- switch to Experimental with your game client.

#

If you want to play on EA, switch the server to the EA branch.

rich jay
#

I want to make it playable only on locallhost.

meager phoenix
#

Did anyone of you have several issues with pipes on dedicated? that might be fixed when loading the server as a "non" dedicated server ?

blazing halo
#

Do you want to play on Experimental or Early Access?

#

Okay, so from the unsolicited DM, I now know you want to play Early Access.

rich jay
#

want to play on Early Access

blazing halo
#

As far as I know, EPIC currently has a problem where both branches are switched to Experimental. As such, it's not currently possible to get the EA DS from Epic.

#

Please use steamcmd.

blazing halo
#

All is described step-by-step on the Wiki. You will find the link in this channel's topic.

rich jay
#

This is my first time learning about DEDICATED.

blazing halo
#

Sure.

blazing halo
#

Windows firewall may ask you to grant permission for incoming connections. Allow it (you connecting to your server on the same PC does count as an "incoming connection").

rich jay
#

@blazing halo I can now enter the game, thank you very much.

blazing halo
#

np

onyx sentinel
#

heyo
i've updated the game server to its latest version with the following command
steamcmd +force_install_dir \$PWD/satisfactory/ +login anonymous +app_update 1690800 -beta experimental validate +quit
did i miss something?

edit:
my bad, i didn't use the correct linux user :/
retrying with steam ...

knotty narwhal
#

@onyx sentinel you got EXPERIMENTAL version for the server with this key "-beta experimental", you should use "-beta public" instead, or switch to experimental game client version

onyx sentinel
#

@knotty narwhal i'm on experimental already on both
i might have just used the wrong linux user to update the game server

knotty narwhal
#

@onyx sentinel yup, perhaps update didn't happened at all. You have version mismatch error, your client now at experimental branch and server seems to be way behind even public branch

blazing halo
onyx sentinel
blazing halo
#

Also, I'm personally not a fan of parameterised paths.

#

I find having the update commands (with explicit paths) placed in the user's home directory is much easier to manage.

blazing halo
#

Yeah.

#

That way, if it's the wrong user, I get a command not found (or whatever is the equivalent) instead of processing a command I may not have wanted.

#

Or, well, I usually find the issue at ~/Satisfactory_DS_[tab]

#

when it barks at me. ;P

#

"What do you mean there's no such... oh, right."

onyx sentinel
#

oh, i see, you're right. i could have avoided the issue if the game was in steam home directory

blazing halo
#

It doesn't have to be. I usually just create a shell script that simply calls the update/install command with explicit paths.

#

That way I know two things:

#

a) I will never issue the command from the wrong user (because only the correct one has those files), and

#

b) I don't need to remember what, where, or how - the script will remember for me

#

All I need to do is ~/satisfactory_ea_dedicated_server_update.sh and I'm good.

#

If I need to execute any special commands (like unmounting/remounting maps, like I do for CONAN), it's all in the script.

#

(well, un/re-mount actually isn't, since I can't do it from steam; but it alerts me that I haven't)

#

I usually don't keep my dedicated servers in the user's home directory... because I'm not used to the user's home directory being all that big to begin with -- it's entirely likely that /home is mapped to a RAID mirror, so I honestly don't want to keep dozes or hundreds of GB of shit I can easily re-download with one or two commands (I'd much rather use that space for stuff I can't get back, like saves).

hollow moat
#

anyone else ever run "start_server.sh" it then updates the server then returns this error - /home/steam/steamcmd/SatisfactoryDedicatedServer/FactoryServer.sh: Not a directory

blazing halo
hollow moat
#

thought it came packaged, but perhaps i copied it from somewhere and made it myself

#

1 sec

blazing halo
#

Most likely, because from what I can tell, it's not something that comes standard.

hollow moat
#

thats how long ive must have had it then, i completly forgot i made it

#

heres what it has

#

#!/bin/bash

export InstallationDir=/home/steam/steamcmd/SatisfactoryDedicatedServer
export templdpath=$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$InstallationDir/linux64:$LD_LIBRARY_PATH

Install or update the server before launching it

/usr/games/steamcmd +force_install_dir $InstallationDir +login anonymous +app_update 1690800 validate +quit

Launch the server

$InstallationDir/FactoryServer.sh

export LD_LIBRARY_PATH=$templdpath

blazing halo
#

Interesting...

#

The only thing that comes to my mind is Linux vs Windows line endings being a bitch.

hollow moat
#

every server ive ever set up was from some tutorial i found online, that i usually follow to a "T"

blazing halo
#

Check if that file has a ^M somewhere at the end there.

hollow moat
#

i dont know linux enough to know what you are talking about

#

i actually have a full gui version of ubuntu installed and run these servers thru the terminal

blazing halo
#

Try cat -v ./start_server.sh and paste the output.

hollow moat
#

its the exact same

#

honestly tho im not really concerned about this issue

blazing halo
#

Still, it's weird.

hollow moat
#

i have a bigger one

#

but i wanted to try something small first

blazing halo
#

I honestly don't understand why it would be spitting out "not a directory" if you weren't trying to cd into it.

hollow moat
#

im as confused as you are. thats why i came here for second opinions

blazing halo
#
$ cd ./test.txt
bash: cd: ./test.txt: Not a directory
#

This is the only way it would spit that out.

hollow moat
#

chalk it up to maybe a ghost in the machine

blazing halo
#

Still, weird thing... why is it that your path is /home/steam/steamcmd/SatisfactoryDedicatedServer but in the working dir you have ~/.steam/steamcmd/SatisfactoryDedicatedServer?

hollow moat
#

you might have something there

blazing halo
#

Perhaps what you need is /home/steam/.steam/steamcmd/SatisfactoryDedicatedServer?

hollow moat
#

ill pretext this by saying, at the time i didnt knw there were hidden folders when i made all this

blazing halo
#

Oh don't worry about that - everyone and their aunt have different ways of organising shit under Linux. Some boggle the mind, but they exist, and if you pull shit off the Internet - you'll run into 'em eventually.

hollow moat
#

here it gets even wierder

#

/home/steam/steamcmd/SatisfactoryDedicatedServer doesnt exist

#

but yet running steamcmd with this line does in fact run

#

and it downloads stuff

#

but the actual folder is thru /.steam

#

i do also have a /home/steam folder but it doesnt have a steamcmd folder inside it

#

its very strange

blazing halo
#

So it looks like it ignores you, installs directly to where you happen to be, and then fails at trying to launch it in the folder that doesn't exist.

#

This is why I keep saying that you should never fail silently.

hollow moat
#

that sounds logical

#

im gonna try changing that line

#

i think i might have opened up a can of worms

#

because now all of a sudden the hidden folders in my home directory are gone, and i found another installation of the game server

blazing halo
#

Unless you removed them, they shouldn't be "gone".

hollow moat
#

i know

blazing halo
#

Check if you are where you think you are.

#

pwd is your friend

hollow moat
#

okay i somehow toggled off hidden files

#

but i do still in fact have a second installation of the server

#

im gonna remove that and run the script again. if it comes back ill know something

blazing halo
#

I usually prepare by creating the directory I want the server to be installed into. Just so I know it exists.

#

(and if in doubt, I can always pwd then copy & paste - then I know I didn't make any mistakes retyping it)

hollow moat
#

ok

#

so i changed the line to have /.steam

#

ran it again and it installed the server again but now it says /start_server.sh: line 9: /home/.steam/steamcmd/SatisfactoryDedicatedServer/FactoryServer.sh: No such file or directory

blazing halo
#

Yeah

#

try /home/steam/.steam ;)

hollow moat
#

so thats different from "is not a file"

blazing halo
#

Okay, so ~ is "home directory of whatever user I'm logged in as".

hollow moat
#

that folder does not exist.

blazing halo
#

If something is in ~/.steam that translates to /home/{current user's home directory}/.steam

hollow moat
#

also i set all thes up as the main user

blazing halo
#

Which is...?

#

hostbox?

hollow moat
#

yeah

blazing halo
#

Then it'll be in /home/hostbox/.steam

hollow moat
#

i thought the directory went the other way as in /hostbox/home/.steam

blazing halo
#

No. The /home directory is always the parent directory to home directories.

#

The only exception is root which has its home in /root.

#

Typically, anyway. I don't presume to know all distros.

#

But on Ubuntu (which is essentially a flavour of Debian ;P), yes.

hollow moat
#

this might reflect differently when using the gui file browser

blazing halo
#

It should not, I think...

#

Anyway, try /home/hostbox/.steam/steamcmd/SatisfactoryDedicatedServer

hollow moat
#

Oh. Well in that case, the folder does not exist in that order when browsing it

blazing halo
#

Well, according to [h]ttps://help.ubuntu.com/community/HomeFolder:

"Whenever you add a user to Ubuntu, either by installing Ubuntu or manually adding a new user, Ubuntu creates a /home/username directory for that user with their username. The /home/username directory is often referred to as just "the home directory"."

#

Just cd /home; ls -al to see what's there.

hollow moat
#

alright, bare with me, im not super terminal efficient

#

im doing all this server stuff to learn linux so i can eventually get off of windows

blazing halo
#

Understandable.

#

Go on.

#

(it's where I started as well, to be honest)

hollow moat
#

i found a lot of it to be similar with dealing with windows 3.1 and 95

blazing halo
#

Though I skipped the entire GUI installation and just went headless. There's plenty of good terminal programs out there.

#

PuTTy is one, but I prefer KiTTy (it can remember passwords if you need it to).

hollow moat
#

i tried the headless but its harder for me to keep track of those things when i cant see them layed out in front of me

blazing halo
#

Also went Debian instead of Ubuntu, since Ubuntu puts a lot of bias on its GUI - which is something I didn't need.

#

I could've probably gone with something like Void or Alpine - and I even might one day, since Debian is pretty heavy - but all things considered, it's good.

hollow moat
#

drwxr-xr-x 6 root root 4096 Apr 15 2020 .
drwxr-xr-x 26 root root 4096 Oct 20 2021 ..
drwxr-xr-x 5 arkserver arkserver 4096 Apr 15 2020 arkserver
drwxr-xr-x 33 hostbox hostbox 4096 Aug 7 18:23 hostbox

#

no idea why there are 2 roots

blazing halo
#

Okay, so you have /home/hostbox confirmed.

#

The first one is . which is "this directory"

#

and the other is .. which is "one directory above this directory"

hollow moat
#

oh

blazing halo
#

Those are what we call relative paths.

#

Also, you host ARK? xD

#
steam@arkserver:~$ 
#

:D

hollow moat
#

i did until epic got it and something changed and nobody was able to connect from outside the network

#

so everyone stipped playing and i havent touched it since

blazing halo
#

Meh, you don't need a Steam account to run the server. You can just get it from steamcmd.

hollow moat
#

no i understand

#

it was working fine until that point

blazing halo
#

I'm trying to say that I host 16 instances in a cluster, and have had no issues.

hollow moat
#

almost like they changed the ports when epic got it

#

i was still able to connect but friends could not

blazing halo
#

Nope, they didn't. Or if they did, I didn't care, because I've been setting my own ports since forever.

hollow moat
#

yea i dont know what happened

blazing halo
#

(you kinda have to if you're running multiple instances)

hollow moat
#

it perplexed me then and still does

#

we were all playing ragnarok

#

then the update came out and they could not join

#

but i still could from inside the network

#

all using the default ports btw

#

but that was all over a year ago

blazing halo
#

If you still care, I can help you debug it later via DM if you want.

#

I know for a fact that everything was still working right a year ago, because that's when the servers saw most activity on my end.

hollow moat
#

maybe ill take you up on that in the future, but honestly i lost a lot of interest in the game once the exansions started comming out

blazing halo
#

Anyway.

#

Did you get Satisfactory going yet?

hollow moat
#

nah. im getting myself deeper in a rabbit hole

#

ive removed some files and ran the installation to see if they would get replaced

#

they didnt

#

which is telling me that somehow there is yet another folder that actually has the installation

#

i should also point out that this isnt the first time ive run this server

#

ive had it running since update 5 came out

#

but i stopped it for a month and now couldnt get it to resume

#

so im trying to hunt down this installation, that might explain why this script wasnt working

fickle cliff
hollow moat
#

well youre not gonna believe this, but i found a 3rd installation of the server, and this one seems to be the actual one steam is installing

blazing halo
fickle cliff
blazing halo
#

Ah, well. It was worth checking.

fickle cliff
#

Yeah, no idea what going on. Haha, sucks since this isnt like a complex thing but it just doesn't like me haha

blazing halo
#

I can't have anyone connect to my server,

#

and I can't connect to any Internet game. At all.

#

Everything is set up correctly, and it works for literally everything else.

#

So... yeah, I know that feel.

fickle cliff
#

haha, beats Arma 3 servers!

#

Those are just pain.

blazing halo
#

You haven't felt pain until you've tried setting up an ATLAS server when it first came out.

hollow moat
#

getting an ark cluster to function was a giant PITA for me

blazing halo
#

Honestly? ARK is relatively painless to set up.

#

What it needs is a fucktonne of raw resources. That's the main difficulty.

#

16 GB of RAM per modded instance is a tad much, when you already need 300 GB of disk space (and it better be on an NVMe, too, or you're going to be looking at 40-minute join times)

#

Clustering them up is as simple as telling them which folder to use for the interprocess, and the ID for the cluster.

hollow moat
#

there must be something wrong with this machine. the only server i can connect to is factorio. nothing else seems to be visible

blazing halo
#

(of course, each time you transfer there's a 50/50 chance that you're going to lose items, but that's kinda normal on modded... it should be fixed, but who cares)

#

Doesn't Ubuntu come with an actually configured and enabled firewall out of the box?

hollow moat
#

i have it turned off

#

i also had the rules set up in it just in case

blazing halo
#

Run something like nc -l 9999 and try to connect to TCP/9999 from another machine

#

then repeat nc -ul 9999 to test UDP.

#

If nc doesn't exist, try apt install netcat-bsd

#

Be aware that netcat for Windows exists, but you're going to be boxing with Windows to make it leave it the fuck alone, because it's a potentially unwanted program.

hollow moat
#

from my windows machine how would i connect to tcp/9999?

#

command prompt?

blazing halo
#

Probably netcat, yeah... :D

#

You can try telnet, but it can't do UDP.

#

A VM with a basic Linux box would probably be very helpful to have, just for the tools.

#

Netcat is a very versatile tool; you can create all sorts of tunnels and servers by scripting around it, and it's a very small executable that does one thing (basic networking) well. It's also for these reasons why it's so beloved by malware authors. :D

hollow moat
#

im gonna try telnet, because its built in to windows and im in way over my head with these commands

#

so im following along

#

just waiting on the prompts

blazing halo
hollow moat
#

its in the windows features settings

#

im on pro so that might be somehting

#

im not smart enough to know if i would be downloading a legit copy of netcat or a virus, so i went with something in house for the security of it

#

question is. how do i actually ping that port?

#

its listening on the server

blazing halo
#

Try telnet server-ip 9999

hollow moat
blazing halo
#

And you're sure nc -l 9999 is running?

#

Should look something like this:

#

If you can't connect and the server is listening, something is preventing you.

hollow moat
blazing halo
#

Try connecting to port 22 and see if it comes up with the SSH daemon.

hollow moat
#

also failed

blazing halo
#

Can you SSH into that machine from a terminal client?

hollow moat
#

its also likely im typing something wron

blazing halo
#

Okay...

hollow moat
#

im gonna say no becasue i dont know what ssh even means

blazing halo
#

Is any side of that on WiFi?

#

(local or remote)

hollow moat
#

im like that kid in school who used the wrong process but got the right answer

blazing halo
#

Can you even ping 192.168.1.105?

hollow moat
#

all wired internet

blazing halo
#

And yet telnet returns nothing?

#

(and yes, the correct syntax is telnet ip port)

#

Please try to sudo nc -l 9999 and see if that helps.

#

Technically su rights shouldn't be required for anything above port 1023, but...

hollow moat
#

first how do i stop it listening

blazing halo
#

Ctrl+C

#

Sends an interrupt to the process currently running in the foreground.

hollow moat
#

same results

#

all this seems odd

#

since i can connect to the factorio server no problem

blazing halo
#

Disable Windows' firewall and try again. Let's see if that makes a difference.

hollow moat
#

sorry if this is wasting all your time

blazing halo
#

There's something preventing you from connecting. I don't know what it is.

#

Can you describe the network a bit more?

hollow moat
#

well i thought it was simple. fiber internet > modem thingy > router > wired connections for everything that can be wired

blazing halo
#

Hm...

#

Back to basics. Can you actually confirm that your server machine's IP is 192.168.1.105?

#

(on Linux, it'll probably be ip a or ifconfig)

hollow moat
#

from my router

blazing halo
#

Yeah, cool. But can you actually confirm that that's what it currently has assigned?

hollow moat
#

the ip is mentioned in there

blazing halo
#

Hmmm...

#

Try nc -l 192.168.1.105 9999

#

instead.

hollow moat
#

and just in case you bring this up later

blazing halo
#

So, try explicitly stating which IP it should listen on, and retry.

hollow moat
#

still seems no

#

was i typing the commands correctly?

blazing halo
#

From what I saw, yes.

hollow moat
#

you know what

blazing halo
#

Try ufw status or sudo ufw status for me, verify that it says "Status: inactive".

hollow moat
#

i had some issues before and a reboot of the server actually worked then, im gonna try that now

blazing halo
#

Okay, try it.

hollow moat
#

status inactive

blazing halo
#

Okay, reboot that fucker and let's see what happens.

hollow moat
#

takes a hot minute

#

thank you btw

#

for taking the time

blazing halo
#

Meh, I should be coding a massive behemoth. So... I'm here. :D

hollow moat
#

well still seems to not like it

#

can nc and telnet talk to each other like that

blazing halo
#

As long as it's TCP, telnet can talk to it.

blazing halo
hollow moat
#

knowing is half the battle

#

both firewalls are off

#

the ports are simple

blazing halo
#

Also, did you disable all firewalls in Windows? It has three profiles.

#

(Domain, Private, and Public)

hollow moat
#

i see, and no

blazing halo
#

The one that would be affecting you is probably Private.

hollow moat
#

ok all off

#

1

blazing halo
#

(but you can kill all of them; if you're behind a NAT, you technically don't need it, unless you don't happen to trust all devices in your network)

hollow moat
#

right

blazing halo
#

Did it help?

hollow moat
#

still a fail

blazing halo
#

Then I have no fucking clue.

#

:D

hollow moat
#

yup

blazing halo
#

The IP is correct. Firewalls are down on both ends. Did you try nc -l 192.168.1.105 9999?

hollow moat
#

to be sure that is a lowercase L?

blazing halo
#

That it is, yes. Short for "listen".

hollow moat
#

yup. typed that way exactly

#

did the ufw look good?

blazing halo
#

As long as it says "Status: inactive", it should be good.

#

(good and disabled, as in)

#

Are you actively using IPv6 on the Ubuntu server machine?

hollow moat
#

i dont think so. at least not intentionally

blazing halo
#

Then run these:

sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
#

See if it helps at all.

#

(this will only disable IPv6 for the current session; if this helps, we can disable it permanently)

#

Verify with ip a to see if all of the inet6 addresses went away.

hollow moat
#

yes appears gone

#

still no results on this tho

blazing halo
#

Does telnet connect?

hollow moat
#

nope

blazing halo
#

I'm quite thoroughly stumped right now.

#

No idea what else could be preventing the connection.

hollow moat
#

im kind of googling along with you here

blazing halo
#

Any security software on Windows?

hollow moat
#

just defender

blazing halo
#

Hmm

hollow moat
#

one result is mentioning that it may be listening on localhost only

blazing halo
#

While you have nc -l 9999 running, can you netstat -ltp for me?

#

(run a second terminal window if you have to)

#

Let's see if it's actually listening on 0.0.0.0:9999.

#

(or 192.168.1.105:9999 if running via nc -l 192.168.1.105 9999)

#

On Windows, you can also run tracert 192.168.1.105 to see if it can reach it at all.

hollow moat
#

i see the port mentioned but thru verizon for some reason

blazing halo
#

Show me.

hollow moat
blazing halo
#

Okay, dumb question: is this box in your LAN?

hollow moat
#

the tracert also shows verizon

#

ya

blazing halo
#

nslookup -q=PTR 192.168.1.105 192.168.1.1 please (on Windows)

#

(you can throw in the results of nslookup hostbox.verizon.net for good measure)

hollow moat
#

i cannot think of any way that verizon and hostbox are intertwined like this

blazing halo
#

Your router seems to be getting its DNS suffix from the ISP device, but why on sweet round Earth it would be applying it without some sort of intermediary, I have not half an idea.

hollow moat
#

dude you got me

blazing halo
#

If you nslookup kalika.verizon.net you'll probably get 192.168.1.104 as a result.

#

Still, that tracert result clearly shows you're on the same LAN.

hollow moat
#

am i taking ptr out?

blazing halo
#

I specify complete commands when I ask for them.

#

Still... while weird, it shouldn't be causing this.

hollow moat
#

then yes, yes it does

#

agreed

blazing halo
#

Verizon's DNS shenanigans should be entirely irrelevant.

hollow moat
#

verizon is usually hands off

blazing halo
#

Actually, that's a bug on their end.

hollow moat
#

i dont even have any login inf on the router

blazing halo
#

There should be something more in front of "verizon.net".

#

Like host73286743289748293748293479823.verizon.net or someshit.

#

And yet, your router is being told that it is. For some reason.

#

You can probably go into it and set up a static DNS suffix for LAN. I would use something like lan.

#

(may you never ever use local, by the way - that's a great way to end a sobbing mess if you have any Apple hardware)

hollow moat
#

networking is over my head, i thought i had a grasp on it until i started talking to you

blazing halo
#

Well sorry. xD

#

Okay. Let's try one more thing.

#

On the Ubuntu machine, try nc -l 9999 and then in another window try nc 192.168.1.105 9999 and see if it connects.

#

We'll test if it can accept connections from itself.

#

(and you'll also see how it should look like when it works)

hollow moat
#

yes

#

i mash the keybord in one window and it reflects in the other

blazing halo
#

Cool.

#

Hey listen

#

out of curiosity

#

can you iptables -L for me?

hollow moat
#

permission denied

blazing halo
#

sudo iptables -L then?

hollow moat
#

oh

#

yea

blazing halo
#

Query. Response?

#

(translation: so what does it say?)

hollow moat
#

ya its long so im trying to copy it

blazing halo
#

OH REALLY

#

INTERESTING...

#

The result should literally be:

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
hollow moat
#

im running into character limits

blazing halo
#

If there's anything more than that, it means your iptables filter is running.

#

(essentially the same as ufw)

#

Try running iptables -F.

#

That should flush it.

#

(well, sudo iptables -F probably)

#

(sudo means "su do", where "su" means "super user", i.e. root, so saying sudo X means "with root permissions, execute command X")

#

(root, if you are not aware, is the super admin of a Linux machine; there's a number of accounts/groups that have a higher access level, but they aren't relevant to normal operation (like wheel); root can do literally everything, including going into other people's stuff)

blazing halo
hollow moat
#

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD_IN_ZONES (0 references)
target prot opt source destination

Chain FORWARD_OUT_ZONES (0 references)
target prot opt source destination

Chain FORWARD_direct (0 references)
target prot opt source destination

Chain FWDI_public (0 references)
target prot opt source destination

Chain FWDI_public_allow (0 references)
target prot opt source destination

Chain FWDI_public_deny (0 references)
target prot opt source destination

Chain FWDI_public_log (0 references)
target prot opt source destination

Chain FWDI_public_post (0 references)
target prot opt source destination

Chain FWDI_public_pre (0 references)
target prot opt source destination
[8:54 PM]
Chain FWDO_public (0 references)
target prot opt source destination

#

Chain FWDO_public_allow (0 references)
target prot opt source destination

Chain FWDO_public_deny (0 references)
target prot opt source destination

Chain FWDO_public_log (0 references)
target prot opt source destination

Chain FWDO_public_post (0 references)
target prot opt source destination

Chain FWDO_public_pre (0 references)
target prot opt source destination

Chain INPUT_ZONES (0 references)
target prot opt source destination

Chain INPUT_direct (0 references)
target prot opt source destination

Chain IN_public (0 references)
target prot opt source destination

Chain IN_public_allow (0 references)
target prot opt source destination

Chain IN_public_deny (0 references)
target prot opt source destination

Chain IN_public_log (0 references)
target prot opt source destination

Chain IN_public_post (0 references)
target prot opt source destination

Chain IN_public_pre (0 references)
target prot opt source destination

Chain OUTPUT_direct (0 references)
target prot opt source destination

#

cleaner now

blazing halo
#

I assume it had more before you iptables -F?

hollow moat
#

oh yea

blazing halo
#

Okay.

#

Now try connecting.

hollow moat
#

over 5000 characters

#

ok it works now

blazing halo
#

YESSSSS.

#

Okay..

#

now why did I ask you to try nc, again?

#

xDDDDDDDD

hollow moat
#

umm

#

couldnt connect to server

#

but that may have been newer info

blazing halo
#

Okay, so.

#

Try running Satisfactory again. It should work this time.

#

(you can also go ahead and re-enable Windows firewalls if you want 'em - they shouldn't be interfering with outgoing connections, really)

#

Keep in mind: iptables rules will probably return on next reboot. Something is installing them for you. I would guess ufw but I honestly have no clue.

#

(iptables, on its own, doesn't remember anything; it needs to have rules inserted on every startup)

hollow moat
#

ip tables is the terminal way of saying the firewall correct?

blazing halo
#

Yes and no.

#

No system today has a true firewall.

#

(in the sense of a program that inspects packets passing through and decides whether to reject them based on their contents)

#

In essence, ufw runs on top of iptables. UFW is more about "allow this, deny that", while iptables is more about rules governing traffic (what is expected and allowed to go where, what to do with packets that have specific traits, etc.).

#

It's very likely that this is what was blocking your ARK as well.

#

It would seem that even if you disable ufw, it doesn't actually clear out the rules from iptables. So... you will probably need to add the specific rules to ufw.

hollow moat
#

oh god

#

but that does make sense

#

sounds daunting

blazing halo
#

Problem is, I have no clue how ufw works - and more to the point, what your ufw config is.

hollow moat
#

hey youve done enough, i can actually connect now

blazing halo
#

Yes, now.

#

Once you reboot, the rules will likely be back in place.

hollow moat
#

this is true

#

but the problem was isolated

#

there was a lot of swinging in the dark on my end before this

blazing halo
#

But you can try sudo ufw disable and see if this helps over a reboot.

#

With a bit of luck, it will.

hollow moat
#

depends on why the ufw is set te way it is now

blazing halo
#

I doubt you actually need a firewall.

hollow moat
#

that was my thought as well, but i also thought it was disabled

blazing halo
#

Inside your LAN, if you trust all devices - you should be OK. From the outside, you control access via port forwarding anyway, so it's not like anything from the Internet can just connect to any port on your LAN's internal hosts.

hollow moat
#

the router takes care of most of it, and most all computers abre behind one at some point anyway

blazing halo
#

So try sudo ufw disable and see if the iptables rules are clear after a reboot.

#

I would also recommend you disable ipv6 globally.

#

You don't seem to be using it, and it's muddying the waters.

#

If you don't have a fully-working IPv6 setup through your entire network, it's useless anyway and some programs may try using it when it doesn't work.

hollow moat
#

ipv6 was one of the issues i had getting factorio to work

#

i had to tell it to use a v4 ip

blazing halo
#

If you want to disable Ipv6, open /etc/sysctl.conf with a text editor (you will need to authenticate as admin).

#

Actually

#

do you have /etc/sysctl.d/

#

?

#

(it's a folder)

#

If you do, that's a better place to put the config into.

hollow moat
#

i do it seems

blazing halo
#

Create a new file, let's call it 10-networking.conf and edit it using a text editor. Add this:

# default 212922, max. ?
net.core.wmem_max = 16777216
net.core.rmem_max = 16777216
net.core.wmem_default = 1048576
net.core.rmem_default = 1048576

# tcp auto-tuning, format 'minimum pressure maximum'
# (pressure: when TCP will start reclaiming memory to go to minimum)
net.ipv4.tcp_mem = 409600 819200 1638400
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 87380 16777216

# Disable the gradual speed increase that's useful
# on variable-speed WANs but not for us
net.ipv4.tcp_slow_start_after_idle = 0 

# Disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
#

The final 3 lines deal with disabling IPv6. Everything else deals with TCP/IP tuning.

#

If you want to disable a specific rule, put # in front of it.

#

Those defaults are much saner, since the defaults that come w/ the OS are kinda holdovers from 10 Mbps links, as far as I'm aware. They have nothing on modern gigabit networks. I wonder why this hasn't been fixed yet.

#

So your file should be saved as /etc/sysctl.d/10-networking.conf

#

and have the contents as above.

#

You may need to authenticate as root to make these changes, as these are system-wide changes.

hollow moat
#

ok so ive run into this issue before where i cant write to those folders because of permissions

#

the gui doesnt really have a run as admin command like windows does

blazing halo
#

Okay, so sudo touch /etc/sysctl.d/10-networking.conf (this will create the file), followed by sudo chmod o+w /etc/sysctl.d/10-networking.conf (this will give everyone write permissions to it), then you should be able to edit the file.

#

Once you're done editing and have saved the changes, sudo chmod o-w /etc/sysctl.d/10-networking.conf to remove write permissions from everyone.

hollow moat
#

ok looks like its all in there and its read only now

#

so looks good

#

omg weve been at this for over 4 hours now

blazing halo
#

Okay, I'm not sure if sysctl -p will work, or if you need to reboot.

#

So, go ahead and reboot.

#

We'll see if the settings stick.

hollow moat
#

shit i dont think i disabled the ufw befre i rebooted

blazing halo
#

We'll see.

#

So sudo ufw status followed by iptables -L to see.

hollow moat
#

ufw is inacive, and ip tables has the garbage again

#

as you predicted

blazing halo
#

Okay... let's see.

#

Please check if you have /var/lib/ufw/ and any *.rules files in there.

#

(any sort of .rules files there)

#

Maybe /etc/ufw/ or /usr/share/ufw/

#

Or you can just sudo find / -name "*.rules" -exec ls -l {} \; | grep ufw and wait for the output. ;P It may be a long wait.

hollow moat
#

6 rules files in the etc branch

blazing halo
#

List 'em.

hollow moat
#

user, after, and before

blazing halo
#

Kay.

#

Copy them somewhere where you'll remember.

#

And then nuke 'em.

#

If you can't nuke 'em from the GUI, try sudo rm /etc/ufw/* (this will remove all contents of that folder; you will not be prompted for anything!)

#

Always be sure (double-check, triple-check) when using rm, especially with sudo. The program will not ask for confirmation. A single mistake could gut your filesystem. Always double- or triple-check that you have the correct path.

#

It need not be feared, but needs to be respected.

hollow moat
#

am i able to unrestrict the whole folder so i can copy them

blazing halo
#

||(a variation of this - sudo rm -rf / - will wipe your entire disk)||

hollow moat
#

chmod something

blazing halo
#

It doesn't allow you to copy them?

hollow moat
#

no, restricted

blazing halo
#

What the flying ballsy fuck is "restricted"?

#

What's your username?

hollow moat
#

or permission denied

blazing halo
#

So it doesn't allow you to copy them. What bullshit.

#

What's your username?

hollow moat
#

right

#

hostbox

blazing halo
#

sudo cp /etc/ufw/* /home/hostbox/ufw-saved-rules/ (you may want to make that directory beforehand!)

#

Check if they were copied.

#

You will also probably need to sudo chown hostbox:hostbox /home/hostbox/ufw-saved-rules/* or something like that, to read them afterwards.

hollow moat
#

ok looks good

blazing halo
#

Copied properly?

#

Y/N?

hollow moat
#

y

blazing halo
#

Then go ahead with a sudo rm /etc/ufw/*

#

and here's hoping it won't recreate them on shutdown... :D

#

We'll see, I guess.

#

Issue an iptables -F for good measure, and reboot.

hollow moat
#

ok cleaned up, rebooting

blazing halo
#

...and?

hollow moat
#

they are back, im gonna check the third folder

#

yes usr/ shared also has rules files

#

and a subfolder with some

blazing halo
#

Check if the first one is empty. If it's not, you have a lot of work on your hands. You should probably disable and/or uninstall ufw completely, tbh.

hollow moat
#

i could have uninstalled it? i wonder why its there in the first place

blazing halo
#

Because it's there by default.

#

Ubuntu is technically a desktop installation.

hollow moat
#

nothing says it cant be reinstalled later correct?

blazing halo
#

You can try apt remove ufw but I can't promise it will remove the rules. If it doesn't... you may have just removed the only method of properly removing them.

#

;P

#

And I also can't promise that, once reinstalled, it will have the rules in the same place, or know to look for them there.

#

It's complicated.

hollow moat
#

yes very

blazing halo
#

But you can try.

#

I never used ufw, so I'm not sure how complex it is to just remove it completely.

hollow moat
#

some of these dont have lock icon on them so they may be easier to get rid of

#

nm

blazing halo
#

sudo rm will remove everything

#

;P

#

So basically "Don't worry, because sudo rm will remove everything. But also be careful, because sudo rm will remove everything." :D

mental locust
#

Good afternoon

blazing halo
#

Yahuh, hiya.

mental locust
#

Never run sudo rm -rf /*

#

Bored

#

How's experimental so far?

blazing halo
#

Just as experimental as it was yesterday, I fear.

mental locust
#

😆

blazing halo
#

Well, maybe a little bit more.

#

Some guy woke up dead, for example. Didn't expect that.

mental locust
#

People asking dumb questions?

#

Lol what you mean?

blazing halo
#

He went AFK and came back to a brown screen with all of his TODO items showing -1. He then respawned, but with no death crate.

mental locust
#

Lol

blazing halo
#

My working theory is that he drifted far enough to lose hoverpack power (he says he was away for 20 minutes or so), and then accidentally found a world hole, or got kicked out by a critter.

blazing halo
hollow moat
#

so i copied and nuked the other folder

#

and was doing the search

#

i dont think its finished yet

#

looks like a directory called snap also has some rules

mental locust
#

@hollow moat what happened

hollow moat
#

originally?

mental locust
#

Yes

hollow moat
#

couldnt join server even tho i used to be able to

blazing halo
#

He couldn't get the server to auto-start after running a staging script.

#

That was the original problem.

#

It spat out "Not a directory".

mental locust
#

Check logs?

blazing halo
#

So we investigated that, and found out that his script wasn't pointing to the correct folders.

mental locust
#

......

hollow moat
#

back and forth with KAD for 4 hours resulted in ufw blocking connections

mental locust
#

😆

hollow moat
#

despite firewalls being off

blazing halo
#

Once we sorted that (and with three separate Satisfactory DS install), we then tackled the issue of being unable to connect.

hollow moat
#

the machine is a mess

blazing halo
#

We went through network settings, firewalls, stuff. Finally asked him to try nc on the server - that also failed.

#

UFW said it was disabled, but we eventually tracked it down to iptables rules being set up.

mental locust
#

I have a dedicated server on hetzner its easy

blazing halo
#

Flushing iptables allowed connections, so...

#

... now we're trying to kill ufw, and loosen its grip on iptables.

#

:D

mental locust
#

Should be easy

blazing halo
#

Should be, but sudo ufw disable doesn't help. It says it's disabled, but there are still iptables rules and they still block connections.

#

This is all on Ubuntu (not sure which version).

hollow moat
#

flushing the tables makes it work but they come back after reboot

blazing halo
#
  • which means something is still applying them,
#

because iptables are empty by default.

hollow moat
#

should be the latest or at least 2nd latest version

mental locust
#

Dammit

blazing halo
#

either [h]ttps or remove https entirely

#

(yes, it pisses me off as well)

mental locust
#

sudo iptables -L

#

?

#

List rules

hollow moat
#

i tried to copy it earlier

#

character limiut

mental locust
#

Character limit on what

blazing halo
#

Yeah, the list is massive. It also looks very auto-generated.

#

Character limit on Discord.

hollow moat
#

discord

mental locust
#

sudo iptables -F INPUT

#

To flush a specific chain, which will delete all of the rules in the chain, you may use the -F, or the equivalent --flush, option and the name of the chain to flush.

For example, to delete all of the rules in the INPUT chain, run this command:

#

To flush all chains, which will delete all of the firewall rules, you may use the -F, or the equivalent --flush, option by itself:

sudo iptables -F

blazing halo
#

Yeah, we already were over that.

#

The problem isn't that he can't clean them,

mental locust
#

😦

blazing halo
#

it's that they come back.

mental locust
#

Wtf that's odd

hollow moat
#

yall type fast

blazing halo
#

iptables doesn't actually remember anything. It needs to have the rules loaded on startup, every time.

#

Meaning, something is loading them on startup.

#

We suspect it's ufw.

#

(despite being disabled)

mental locust
#

Look at startup programs?

blazing halo
#

How do you propose to do that? :D

#

systemd? rc.local? something dynamic? startup scripts?

mental locust
#

Is it disabled on startup?

blazing halo
#

I don't know ufw.

#

Never used it.

mental locust
#

sudo ufw reset

#

Resets ufw rules

blazing halo
#

That's a good suggestion.

#

Then maybe removing it will remove defaults as well.

mental locust
#

It will revert it to default

#

Let us know if the reset command works

hollow moat
blazing halo
#

... xD

#

Hey, remember the files you previously copied? :D

hollow moat
#

copy back?

mental locust
#

What did you remove?

blazing halo
#

Copy back, yes.

blazing halo
mental locust
#

Oh 😆

blazing halo
#

We were debugging the issue with a shotgun, yes. :D

mental locust
#

Lol not a good idea...

blazing halo
#

I don't know ufw. xD

#

I followed the procedure which would kill anything with enough shots.

mental locust
#

We shall see if this works

#

@hollow moat you ok?

hollow moat
#

ya, wasnt sure if you were typing something long

#

what am i doing

mental locust
#

😆

hollow moat
#

oh i see a missed message

#

looks like i gotta backtrack all of this

mental locust
#

We shall troubleshoot it the proper way

blazing halo
#

Give the guy a break, it's been something like 5 hours. xD

mental locust
#

Not the kad@home way

#

Oh really 🤔

blazing halo
#

🤣

hollow moat
#

im honestly more impressed he stuck with me for this long

mental locust
#

@blazing halo is the best

blazing halo
#

Someone recently ragequit the server after I offended them. I try.

mental locust
#

How?

blazing halo
#

(at least, I think they did)

mental locust
#

Lol what offended then

blazing halo
#

Me using the word "rape" in the sentence "the entire game is about raping the planet for all it's worth".

mental locust
#

🤣 😂 🤣

#

Technically fixit is

blazing halo
#

Yeah, that was my reaction as well. And a few choice words about how I don't intend to hold their hand.

mental locust
#

😆 people are too sensitive

#

You don't agree with them . They make you the monster

blazing halo
#

What ruffled my feathers was the fact that this guy (I assume it was a guy, it usually is) got offended on someone else's behalf. That tends to trigger me.

mental locust
#

🤣 😂 🤣 😂 🤣 😂

blazing halo
#

Someone who neither needs them to, nor asked them for it.

hollow moat
#

okay i managed to get the rules back in place and the reset compleated

mental locust
#

I would offend them more 🤔

blazing halo
mental locust
#

@hollow moat try now

hollow moat
#

its done

blazing halo
#

@hollow moat so iptables -F followed by a reboot, let's see what happens

mental locust
#

🙏

blazing halo
#

fucking 🙏

mental locust
#

The thing I notice about hosting a server for people is that people get bored quickly

hollow moat
#

been there

blazing halo
#

Funny thing, I recently had a dream that I was in church, repeating the same rotes I know so well, and wondering what in the holy balls of Jesus Christ was I doing there.

#

Just going along, while discreetly looking for a good spot to GTFO.

mental locust
#

@hollow moat rebooting?

hollow moat
#

i had a 7 days to die server running for a while and i had to turn up the difficulty because everyone was just steamrolling everything

#

ya it takes a minute

#

i had a 7 days to die server running for a while and i had to turn up the difficulty because everyone was just steamrolling everything

mental locust
#

Server specs?

blazing halo
#

I went the other way - loosened the difficulty to the bare minimum, increased damage on the zombies, but then turned up the spawn rates (especially in cities) up like 10x.

mental locust
#

@blazing halo surprised your awake... thought you would be getting Beaty sleep lol

hollow moat
#

ya i had it to the point there were like 50 zombs at any given time

blazing halo
#

I doubt I'm going to sleep tonight, actually.

#

Have to be up in about 3.5 hours anyway.

mental locust
#

Ewwwwww

hollow moat
#

if im keeping you up, dont

blazing halo
#

Nah.

#

If I didn't want to, trust me - you wouldn't be able to force me.

mental locust
#

I want to see it working:-P

hollow moat
#

it appears the garbage is still in the tables

mental locust
#

Wtf really

#

It won't play?

#

@hollow moat picture of garbage in iptable

hollow moat
#

i can play it, but i cant connect unles i clear the tables

#

ok 1 min

mental locust
#

Strange.....

hollow moat
mental locust
#

Wtf..

hollow moat
#

ok i looked up 34197 that is for factorio

mental locust
#

I'll list mine and send pics to you

#

I wonder what's re adding the rules...

#

Ubuntu version?

#

@blazing halo what you think

#

And @hollow moat etc/iptables/rules.v

hollow moat
#

that folder doesnt seem to exist

mental locust
#

😞

hollow moat
#

im trying a serarch

#

the file is "rules.v"

mental locust
#

Trying to figure it out

hollow moat
#

well i sound the startup applications

#

only 2 things in there

#

oh my NM

#

i see what you were talking about with the rules.v file

#

i dont have ip tables persistant installed

mental locust
#

Back

hollow moat
#

im rebooting right now

mental locust
#

Voice chat?

hollow moat
#

where at?

mental locust
#

Here?

#

Well dm?

hollow moat
#

ok

blazing halo
#

Did y'all try to remove ufw completely?

blazing halo
#

The problem with default solutions like this is usually that it makes perfect sense... if you're the one who made it. 🤣

mental locust
#

@blazing halo sending him a copy of setup

#

should work

blazing halo
#

The thing is, I doubt he even needs the fw. My recommendation would be to kill it with fire.

#

It usually makes a lot of sense if it's a laptop and it needs to roam different networks. Then - yes, it makes sense to have various things protected and context-aware.

#

But as a server?

#

Especially if it's behind NAT anyway.

#

And since we've disabled IPv6 earlier (I recommended it to curb future issues, especially since he doesn't seem to actually use it for anything explicitly...), there should really be no reason for the firewall existing.

#

And I say "firewall this" and "firewall that", when it's not even a goddamn firewall. It's a packet filter. Grrrr...

#

Stateful it may be, inspecting it is not.

#

FUCK ME

#

I look for "linux firewall"

#

and there's this gem

#
Non-firewall capabilities: As Linux already comes with a robust firewall service of its own, the solution you choose should also include non-firewall network management and security functionalities. VPN, bandwidth optimization, content filtering, network usage logs, and intrusion detection are some add-ons to look for. 
#

> non-firewall capabilities:
> - content filtering
> - intrusion detection

#

WHAT

#

THE

#

ACTUAL

#

FUCK

#

LIKE WHAT THE ACTUAL FUCKING FUCK

#

that's what a firewall does

mental locust
blazing halo
#

_<

mental locust
#

you ok?

blazing halo
#

It's its primary function :/

blazing halo
#

the doctors call it "bullshit intolerance".

hollow moat
#

allergic to stupid

mental locust
#

rofl lol

blazing halo
#

What do they fucking mean "non-firewall capabilities" when they list capabilities that actually belong to a firewall (as opposed to a packet filter which iptables, nftables, ufw and others actually are).

mental locust
#

so what os do you use ?

blazing halo
#

Would you call a guy who just checks if you're invited or not a "security inspector"?

mental locust
#

no

blazing halo
#

Or would you expect them to actually look through the contents of your shit?

#

xD

hollow moat
#

but thank you both for the help, tho there is still an issue with the server, it was at least isolated and i can work around it to get what i need done. but going on 6 hours now and i havent even ate yet

mental locust
#

🌮

hollow moat
#

it was almost going to be tacos tonight

mental locust
#

@hollow moat at least your issues is actualy hard to solve compared to some.....

#

people tend to ask the stupidest questions here

hollow moat
#

i tend to not ask for help until google can no longer do it for me

mental locust
#

same

blazing halo
#

Though if you're that self-sufficient, remember that it's very easy to fall into XY problems.

#

An XY problem is where you have a problem X, and then fixate on solution A being the solution to problem X, then spend a lot of time trying to solve problem Y of solution A.

#

The issue with that is that while you're spending a ton of time solving Y, you're ignoring all other potential solutions for X. Someone may know a solution for X that doesn't even involve solving Y in the first place.

#

(to be more precise, an "XY problem" happens when you come in looking for help solving Y, and someone at some point has to ask "what is it that you're actually trying to do here?" because the deeper into the solution-finding process everyone gets, the more restraints on Y emerge, and it eventually becomes apparent that problem Y is restrained by a parent problem - X)

#

I'm only mentioning because I'm guilty of spending hours digging into such dead ends myself... :D

#

It helps to either a) get some fresh eyes on the issue, or b) to take a step back (maybe do something else?) and recap from start to finish, while specifically trying to spot such excursions.

#

If your logic goes something like "okay, so we need to do X, and in order to do X we need to do Y, but to do Y..." - you have to ask: "do we really need to do Y in order to do X?"

#

(as opposed to, say, Y being nice to use as a solution for X - again, I'm guilty of this so, so much)

hollow moat
#

that was the path i was down until you spotted the difference in the directories, and it made me see that there were 2 other installations and i was working with the wrong one the whole time

blazing halo
#

And then, I just spent another hour explaining to a bro why electromagnetic fields don't linger, and there's no such actual thing as "residual EM fields"...

#

I mean sure there are momentary fields (though we're talking maximum time scale of a millisecond) at very low voltages (again, values of 50 uV per centimeter), but those values are buried in rounding errors in terms of, say, a 120V AC installation. It's like trying to hear the faintest whisper of the sex you had last night, in a crowded concert hall during a rock band performance.

#

The scales are simply not comparable. The level of signal you're trying to measure, at the scales you're trying to measure it at, is buried in a noise well the depth of the Mariana trench.

#

I think my bullshit detector burned the fuck out and I'll need to invest in a new one. Or change the bulb. Something.

blazing halo
dusk flame
mental locust
#

😆

meager bronze
#

my friend is trying to connect to my dedicated server however he gets info that it is offline

mental locust
#

@meager bronze port not open to the outside?

blazing halo
# meager bronze my friend is trying to connect to my dedicated server however he gets info that ...
  • Where is your server hosted? At home (in your LAN), on an external VPS, on a purchased game host, elsewhere? (please elaborate)
  • Is the server's IP reachable from the public Internet? If not, are ports forwarded from the nearest public IP as required? Are the ports forwarded X -> X?
  • Is the server machine protected by a "firewall"? If so, are the requisite ports open to allow communication going in?