Conversation
Notices
-
Embed this notice
Pleroma-tan (kirby@lab.nyanide.com)'s status on Tuesday, 30-Jan-2024 11:04:53 JST Pleroma-tan i need to figure out how to use ufw -
Embed this notice
anonymous (anonymous@freespeechextremist.com)'s status on Tuesday, 30-Jan-2024 11:07:54 JST anonymous @kirby Get ready for a ride.
Pleroma-tan likes this. -
Embed this notice
Pleroma-tan (kirby@lab.nyanide.com)'s status on Tuesday, 30-Jan-2024 11:09:21 JST Pleroma-tan @anonymous ;;;;;;;;;; -
Embed this notice
✙ dcc :pedomustdie: :phear_slackware: (dcc@annihilation.social)'s status on Tuesday, 30-Jan-2024 11:12:05 JST ✙ dcc :pedomustdie: :phear_slackware: @anonymous @menherahair @kirby Or just ip tables -
Embed this notice
anonymous (anonymous@freespeechextremist.com)'s status on Tuesday, 30-Jan-2024 11:12:06 JST anonymous @menherahair @kirby Or you could just use gufw.
-
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 30-Jan-2024 11:12:08 JST menherahair @kirby ufw allow in 22
alt: ufw allow in port 22, get error, man ufw and walk the longest option line listed in usage to construct the command
you can also throw iptables rules in /etc/ufw/*.rules
or define shit in /etc/ufw/applications.d/ and update that instead of the rules every time application's port changes or there's a new one
that's pretty much it. do routing/nat in the .rules files or with iptables, cli ufw is too dumb for it -
Embed this notice
Pleroma-tan (kirby@lab.nyanide.com)'s status on Tuesday, 30-Jan-2024 11:13:06 JST Pleroma-tan @menherahair i do already know how to do that but i have a very specific scenerio where i need to deny outgoing http connections to private ip ranges -
Embed this notice
Pleroma-tan (kirby@lab.nyanide.com)'s status on Tuesday, 30-Jan-2024 11:13:25 JST Pleroma-tan @menherahair could also just cheat and do one ip i guess, cause that's the gateway lol -
Embed this notice
Pleroma-tan (kirby@lab.nyanide.com)'s status on Tuesday, 30-Jan-2024 11:15:09 JST Pleroma-tan @lamp @menherahair i just need to deny access to a web portal used to carry out administrative actions on router -
Embed this notice
lamp (lamp@kitty.haus)'s status on Tuesday, 30-Jan-2024 11:15:11 JST lamp @kirby @menherahair then u cant access the internet -
Embed this notice
Pleroma-tan (kirby@lab.nyanide.com)'s status on Tuesday, 30-Jan-2024 11:15:21 JST Pleroma-tan @lamp @menherahair on a machine using ufw -
Embed this notice
lamp (lamp@kitty.haus)'s status on Tuesday, 30-Jan-2024 11:18:16 JST lamp @kirby @menherahair maybe blocking gateway dst wont block internet, the packets dont have dst address of gateway theh just get sent out the interface wherever that gateway address is, i think -
Embed this notice
Pleroma-tan (kirby@lab.nyanide.com)'s status on Tuesday, 30-Jan-2024 11:18:16 JST Pleroma-tan @lamp @menherahair bruh i just need for this machine to not be able to access a web portal are you telling me networking is done over http now -
Embed this notice
Pleroma-tan (kirby@lab.nyanide.com)'s status on Tuesday, 30-Jan-2024 11:20:21 JST Pleroma-tan @anonymous @menherahair @lamp someone suggested for me to just use the web portal to deny access to it from machine -
Embed this notice
anonymous (anonymous@freespeechextremist.com)'s status on Tuesday, 30-Jan-2024 11:20:22 JST anonymous @kirby @lamp @menherahair If it’s a web portal, yeah.
-
Embed this notice