noname on Nostr: with some firewall changes, you can afaik, seed ipfs content on tor without ip leak. ...
with some firewall changes, you can afaik, seed ipfs content on tor without ip leak. the idea is to block udp, because it bypasses tor. got like 10 peers with only tcp, but that is enough to propagate content to the network.
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:
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
nostr:note1cj7ke90y0j0zqjwyhu29aflfkp6qw8q0pm8x2tckh34yyrsgvdsq4eyndy
Published at
2023-08-26 18:24:52Event JSON
{
"id": "2e78649bb3ef157535fb9ec6d49e65f3540fc1ba347e3bbcf4557993489c6560",
"pubkey": "b24f0ef28dccb78da76214954d0d9e51c3477a0f7116d208e40f5f3cbc9ab3d9",
"created_at": 1693074292,
"kind": 1,
"tags": [
[
"e",
"090f23d19fe7c832b0d4f0a0840301bdfc891e289366492dae96812ef379fc2e",
"",
"mention"
],
[
"e",
"c4bd6c95e47c9e2049c4bf145ea7e9b074071c0f0ece652f16bc6a420e086360",
"",
"mention"
]
],
"content": "with some firewall changes, you can afaik, seed ipfs content on tor without ip leak. the idea is to block udp, because it bypasses tor. got like 10 peers with only tcp, but that is enough to propagate content to the network.\n\nsudo iptables -A OUTPUT -p udp --dport 53 -j ACCEPT\nsudo iptables -A OUTPUT -p udp --dport 51820 -j ACCEPT\nsudo iptables -A OUTPUT -p udp -j DROP\n\ntorify ipfs daemon\n\nnostr:note1py8j85vlulyr9vx57zsggqcphh7gj83gjdnyjtdwj6qjaumelshq4q6nfr\nnostr:note1cj7ke90y0j0zqjwyhu29aflfkp6qw8q0pm8x2tckh34yyrsgvdsq4eyndy",
"sig": "f717ae563ea30c97c75a685f50dd002b756403f97c6bba2a869173c065cda6e4d8182d0a051d1db72404b51406e4b36906812fd97bb577e964acd3f8dc6836a2"
}