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 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...
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...
Its a hobby project. I think ill just setup mitmproxy and use iptables to route interface wg0 ports 80 and 443 to mitmproxy which will go out through wg1
Ah but my router doesnt support openvpn, wireguard or any other vpn connections. Flashing custom isnt an option either. So i must do this on one device. Once i get to a certain point ill just use the router for WAN and leave dhcp, dns, and routing to the device im currently working on.
Thats the idea, but i also run a DNS server and Jellyfin server just on my local network and need to be able to access these through my wireguard server while still sending anything that is NOT going to local network IPs to go through the vpn provider. I understand that my DNS server will also send DNS requests through the vpn provider.
I daily drive debian and never have any issues. Absolutely wonderful.
Use dd and pull the whole root/boot fs from a live boot disk. Or you can just tar it and gzip it from a live boot disk.
Its a hobby project. I think ill just setup mitmproxy and use iptables to route interface wg0 ports 80 and 443 to mitmproxy which will go out through wg1
Ah but my router doesnt support openvpn, wireguard or any other vpn connections. Flashing custom isnt an option either. So i must do this on one device. Once i get to a certain point ill just use the router for WAN and leave dhcp, dns, and routing to the device im currently working on.
Thats the idea, but i also run a DNS server and Jellyfin server just on my local network and need to be able to access these through my wireguard server while still sending anything that is NOT going to local network IPs to go through the vpn provider. I understand that my DNS server will also send DNS requests through the vpn provider.