How to run a private DM relay over Tor. #Amethyst #Citrine #Orbot -- Citrine setup Go to the settings tab. image Fill things in as appropriate. Leave the network related settings default. image Under "Accept events that refer to" add your npub. This will keep extraneous events from clogging your relay, but still allow DM to function. Note: If you add your npub to "Accept events signed by" your DM partner will not be able to send messages to your relay. You would need to add their npub as well. Maybe a security feature? -- Orbot setup In orbot got to more > hosted onion services. Add a new service. Citrine uses port 4869, so set that for both ports. Name it anything. "Nostr" will do. You will need to restart orbot after you save. Then you can go back and copy your onion service address. You'll need it for the next step. -- Amethyst Setup Add ws://ONIONADDRESS:4869 as Outbox and DM relays in Amethyst. image Also add ws://127.0.0.1:4869 as a local relay. image You should be able to check the relay info in Amethyst by clicking on the icon. It should now reflect what you have set in Citrine! image NOTE: This requires running Tor at all times! Anyone on the other end will also need to be running Tor to communicate with you over this relay, but not have the relay & service running. It would be better if they did though, then both sides of a DM conversation can be hosted on a private relay. ๐Ÿ˜Ž๐Ÿ‘Œ Software required
Enki's avatar Enki
So after running my citrine relay like this for a bit but I found out it was quickly being used by more people than just me and for more than just a DM inbox and found events stored on my phone that I dident want (ai porn, bot posts and the like) I tryed setting citrine to only accept events from me and to only allow events refering to me (in the hope of not blocking DMs) but thats seems to not be working. Gonna close off citrine again but its fun to know that i can open it up. Might open it up again if I can filter what gets in the relay better but for now I prefer to have it as a local backup. If you use nostrudel on your phone you can go to your relays add citrine, click on it and nostrudel will show you what notes are coming from the relay (if I understand the feature corectly) I was also able to kind of double check and confirm that it wasn't just me using the relay because I told Citrine to delete anything that was more than a day old but to keep posts from me and my kind 1 stored events went from like 2,500 to around a thousand So just a heads up for people out there if you start using your phone relay as a DM inbox relay. Very quickly can become used by people you don't want it to. View quoted note โ†’ View quoted note โ†’
View quoted note →

Replies (9)

Ryan's avatar Ryan
How to run a private DM relay over Tor. #Amethyst #Citrine #Orbot -- Citrine setup Go to the settings tab. image Fill things in as appropriate. Leave the network related settings default. image Under "Accept events that refer to" add your npub. This will keep extraneous events from clogging your relay, but still allow DM to function. Note: If you add your npub to "Accept events signed by" your DM partner will not be able to send messages to your relay. You would need to add their npub as well. Maybe a security feature? -- Orbot setup In orbot got to more > hosted onion services. Add a new service. Citrine uses port 4869, so set that for both ports. Name it anything. "Nostr" will do. You will need to restart orbot after you save. Then you can go back and copy your onion service address. You'll need it for the next step. -- Amethyst Setup Add ws://ONIONADDRESS:4869 as Outbox and DM relays in Amethyst. image Also add ws://127.0.0.1:4869 as a local relay. image You should be able to check the relay info in Amethyst by clicking on the icon. It should now reflect what you have set in Citrine! image NOTE: This requires running Tor at all times! Anyone on the other end will also need to be running Tor to communicate with you over this relay, but not have the relay & service running. It would be better if they did though, then both sides of a DM conversation can be hosted on a private relay. View quoted note โ†’ ๐Ÿ˜Ž๐Ÿ‘Œ Software required
View quoted note →
Thanks, I played with things a bit to work out the kinks, mostly foolproof now. I can't for the life of me take screenshots of Tor though, even when toggling the setting for it ๐Ÿ˜‚ Once Vitor has Tor up and running ๐Ÿ’ฏ in Amethyst I'll post a proper long form note. His posts today excite me for the future.
.'s avatar
. 1 year ago
I am still not sure if I need to run Amethyst App thru Orbot app if I have Tor connected in Amethyst.
You can run Orbot in expert mode, it doesn't function as a VPN then, just a proxy server. Activate the Tor mode in Amethyst and it will use the proxy. You don't need to use the VPN feature of Orbot necessarily. This is how I use Tor in tandem with a standard VPN.
.'s avatar
. 1 year ago
Ryan's avatar Ryan
How to run a private DM relay over Tor. #Amethyst #Citrine #Orbot -- Citrine setup Go to the settings tab. image Fill things in as appropriate. Leave the network related settings default. image Under "Accept events that refer to" add your npub. This will keep extraneous events from clogging your relay, but still allow DM to function. Note: If you add your npub to "Accept events signed by" your DM partner will not be able to send messages to your relay. You would need to add their npub as well. Maybe a security feature? -- Orbot setup In orbot got to more > hosted onion services. Add a new service. Citrine uses port 4869, so set that for both ports. Name it anything. "Nostr" will do. You will need to restart orbot after you save. Then you can go back and copy your onion service address. You'll need it for the next step. -- Amethyst Setup Add ws://ONIONADDRESS:4869 as Outbox and DM relays in Amethyst. image Also add ws://127.0.0.1:4869 as a local relay. image You should be able to check the relay info in Amethyst by clicking on the icon. It should now reflect what you have set in Citrine! image NOTE: This requires running Tor at all times! Anyone on the other end will also need to be running Tor to communicate with you over this relay, but not have the relay & service running. It would be better if they did though, then both sides of a DM conversation can be hosted on a private relay. View quoted note โ†’ ๐Ÿ˜Ž๐Ÿ‘Œ Software required
View quoted note →
This is the way โคต๏ธ
Ryan's avatar Ryan
How to run a private DM relay over Tor. #Amethyst #Citrine #Orbot -- Citrine setup Go to the settings tab. image Fill things in as appropriate. Leave the network related settings default. image Under "Accept events that refer to" add your npub. This will keep extraneous events from clogging your relay, but still allow DM to function. Note: If you add your npub to "Accept events signed by" your DM partner will not be able to send messages to your relay. You would need to add their npub as well. Maybe a security feature? -- Orbot setup In orbot got to more > hosted onion services. Add a new service. Citrine uses port 4869, so set that for both ports. Name it anything. "Nostr" will do. You will need to restart orbot after you save. Then you can go back and copy your onion service address. You'll need it for the next step. -- Amethyst Setup Add ws://ONIONADDRESS:4869 as Outbox and DM relays in Amethyst. image Also add ws://127.0.0.1:4869 as a local relay. image You should be able to check the relay info in Amethyst by clicking on the icon. It should now reflect what you have set in Citrine! image NOTE: This requires running Tor at all times! Anyone on the other end will also need to be running Tor to communicate with you over this relay, but not have the relay & service running. It would be better if they did though, then both sides of a DM conversation can be hosted on a private relay. View quoted note โ†’ ๐Ÿ˜Ž๐Ÿ‘Œ Software required
View quoted note →
Galera, fiz isso, e agora o SimpleX nรฃo conecta mais. Alguรฉm sabe resolver? Sempre que mexo no Orbot, o SimpleX endoida
Ryan's avatar Ryan
How to run a private DM relay over Tor. #Amethyst #Citrine #Orbot -- Citrine setup Go to the settings tab. image Fill things in as appropriate. Leave the network related settings default. image Under "Accept events that refer to" add your npub. This will keep extraneous events from clogging your relay, but still allow DM to function. Note: If you add your npub to "Accept events signed by" your DM partner will not be able to send messages to your relay. You would need to add their npub as well. Maybe a security feature? -- Orbot setup In orbot got to more > hosted onion services. Add a new service. Citrine uses port 4869, so set that for both ports. Name it anything. "Nostr" will do. You will need to restart orbot after you save. Then you can go back and copy your onion service address. You'll need it for the next step. -- Amethyst Setup Add ws://ONIONADDRESS:4869 as Outbox and DM relays in Amethyst. image Also add ws://127.0.0.1:4869 as a local relay. image You should be able to check the relay info in Amethyst by clicking on the icon. It should now reflect what you have set in Citrine! image NOTE: This requires running Tor at all times! Anyone on the other end will also need to be running Tor to communicate with you over this relay, but not have the relay & service running. It would be better if they did though, then both sides of a DM conversation can be hosted on a private relay. View quoted note โ†’ ๐Ÿ˜Ž๐Ÿ‘Œ Software required
View quoted note →
Default avatar
Ariel 5 months ago
Parece legal e รบtil, porรฉm expรตe uma aplicaรงรฃo servidora (Um Nostr relay) sem nenhuma garantia (Como todo projeto opensource sem suporte pago), que roda no seu celular, ร  conexรตes remotas e ataques de vulnerabilidade! Sรณ louco! ๐Ÿ˜“
Ryan's avatar Ryan
How to run a private DM relay over Tor. #Amethyst #Citrine #Orbot -- Citrine setup Go to the settings tab. image Fill things in as appropriate. Leave the network related settings default. image Under "Accept events that refer to" add your npub. This will keep extraneous events from clogging your relay, but still allow DM to function. Note: If you add your npub to "Accept events signed by" your DM partner will not be able to send messages to your relay. You would need to add their npub as well. Maybe a security feature? -- Orbot setup In orbot got to more > hosted onion services. Add a new service. Citrine uses port 4869, so set that for both ports. Name it anything. "Nostr" will do. You will need to restart orbot after you save. Then you can go back and copy your onion service address. You'll need it for the next step. -- Amethyst Setup Add ws://ONIONADDRESS:4869 as Outbox and DM relays in Amethyst. image Also add ws://127.0.0.1:4869 as a local relay. image You should be able to check the relay info in Amethyst by clicking on the icon. It should now reflect what you have set in Citrine! image NOTE: This requires running Tor at all times! Anyone on the other end will also need to be running Tor to communicate with you over this relay, but not have the relay & service running. It would be better if they did though, then both sides of a DM conversation can be hosted on a private relay. View quoted note โ†’ ๐Ÿ˜Ž๐Ÿ‘Œ Software required
View quoted note →
โ†‘