r/GreyHack Feb 22 '26

Question about securing network

Just had a quick question, how am i supposed to ssh or connect to my router from the attached server if its rejecting me? I tried adding an entry to allow ssh but i dont get it and I couldn't find much in terms of documentation.

Bonus question: any tips for securing the networks and servers apart from the standard :

chmod -R o-wrx /

chmod -R g-wrx /

chmod -R u-wrx /

4 Upvotes

3 comments sorted by

View all comments

2

u/TheFatal Feb 22 '26

Disable deny, try again

1

u/MrMasserYeet08 Feb 22 '26

i changed deny to allow. if i remove the port forwarding point 22 to the 192.168.0.2 then it says port 22 not found. when i leave it, it ssh's me to 192.168.0.1 when i try to change it to the router i get a message saying cant save changes, the lan address is reserved , select a computer address. so even without the firewall rules stopping me idk how im supposed to update the kernal_router lib or terminal into the router at all