I have a wireguard server on my home network so i can access it while im away from home. I also have a vpn provider. How would i allow access to my home network and tunnel all other traffic through the vpn provider? Iptables maybe? Example: (phone) <-> (home server wg0) <-> (home server wg1) <-> (vp...
Ive written a library to intercept a few function calls like "fopen, fopen64, connect, bind" using LD_PRELOAD, Just to check what programs do. On a raspberry pi 4 ive executed "LD_PRELOAD=./mylib.so nano mylib.c" and the output lists a few things being fopen64'd. Mainly nano configs, but i see that...
I have a Raspberry Pi 4 running pihole and pivpn and am wanting to block URLs. I want to block certain pages like http(s)://example.com/sitepage/stuff and not just the whole domain. I've been using Linux for about 5 years and still haven't figured this out. I wouldn't mind running squid, tinyproxy,...
I'm working on a project for sandboxing applications and am deciding to use chroot because it has low overhead. If a program is in a chroot, is there any way that it could mount the root filesystem inside the chroot and cause damage to anything? Edit: yes it's possible. Setting up a chroot with thes...