| 8 Dec 2025 |
okamis | Im using runnixostest interactive as a playground environment. I would like it to be a bit similar as non-interactive, so I would like ssh access but not access to the internet, whats a good way to achieve that? Currently im running "ip route del default" in the testscript. | 14:24:11 |
K900 | Could just firewall all outgoing connections | 14:24:36 |
okamis | I had a rule drop all outgoing, and it screwed up kubectl connecting to k3s using localhost:8080, | 14:26:38 |
K900 | Well that depends on how you implemented it | 14:27:32 |
okamis | iptables -t filter -I FORWARD 1 -m state --state NEW -j DROP | 14:29:10 |
K900 | Yeah that's not all outgoing connections | 14:29:28 |
okamis | oh sorry should be OUTGOING instead of forward | 14:29:28 |