sudo iptables -A OUTPUT -p udp --dport 53 -j ACCEPT
sudo iptables -A OUTPUT -p udp --dport 51820 -j ACCEPT
sudo iptables -A OUTPUT -p udp -j DROP
torify ipfs daemon
setup #wireguard #vpn for browser only:nostr:note1cj7ke90y0j0zqjwyhu29aflfkp6qw8q0pm8x2tckh34yyrsgvdsq4eyndy
install #wireproxy
create wireproxy.conf with following contents:
// file: wireproxy.conf
WGConfig = yourwireguard.conf
[Socks5]
BindAddress = 127.0.0.1:25344
//
setup #firefox to connect to socks5 proxy at 127.0.0.1:25344
go to whatismyip.com to check it works