• Skip to primary navigation
  • Skip to content
  • Skip to footer
Paul's Blog
  • Posts
  • Collections
  • Categories
  • Tags
  • Rust Resources
  • C++ Resources
  • About
    Paul

    Paul

    Me hacking away at things.

    • GitHub

    linux: restrict internet access to processes

    December 6, 2019 less than 1 minute read

    to run programs with restricted internet access do the following

    $ unshare -r -n ping 127.0.0.1


    source: link

    Tags: internet, spotify, unshare

    Categories: it basics, linux

    Updated: December 6, 2019

    Previous Next

    You May Also Enjoy

    NixOS: cargo linker error

    January 31, 2026 1 minute read

    There are multiple ways to install a rust toolchain under NixOS. One easy way is to install gcc, rustup system-wide, e.g. # file: /etc/nixos/configuration.ni...

    NixOS: Deleting old generations

    January 27, 2026 3 minute read

    NixOS will keep all previous generations (builds) by default. This can quickly take up signification amount of disk space. E.g. for my local setup of 46 buil...

    Proxmox: Blank login screen

    October 20, 2025 3 minute read

    tldr; The proxmoxlib.js file was corrupted and needed to be manually replaced.

    Connecting to synology per ssh

    September 10, 2025 less than 1 minute read

    Synology run deprecated versions of sshd. The cbc cipher needs to be explicitly allowed.

    • Feed
    © 2026 Paul's Blog. Powered by Jekyll & Minimal Mistakes.