Skip Navigation
How do transaction fees work?

Hi, new Monero user here. I've recently started to mine some Monero and was wondering where I can spend it in the future. During my research, I've seen some sites saying "Please send enough Monero to cover the transaction fees". What does that mean?

I'll give an example to make my question a bit more clear:

I want to send 1 XMR to a seller. Let's say that the transaction fees are 0.1 XMR as an example. After sending my Monero, does the seller receive 0.9 XMR or are the transaction fees automatically paid with my wallet?

Thanks in advance!

1
How can I bypass CGNAT by using a VPS with a public IPv4 address?
  • I've added the firewall rule and it still says no port[s] to connect to whenever I run echo "Testing" | nc -u SERVER_IP -p 51820. I feel like you're trying to stay on a sinking ship, so I would suggest to try another method to see if we even can get the whole "bypass CGNAT with a VPS" thing to work at all.

    Update: I've tried setting up SSH tunneling instead and it STILL doesn't work. I contacted Hetzner support about this issue and I'm hoping that they can resolve the firewall issues that I'm having.

  • How can I bypass CGNAT by using a VPS with a public IPv4 address?
  • I've added some different ports for the future, but this is my ufw status:

    Status: active
    
    To                         Action      From
    --                         ------      ----
    OpenSSH                    ALLOW       Anywhere                  
    51820                      ALLOW       Anywhere                  
    2333                       ALLOW       Anywhere                  
    80                         ALLOW       Anywhere                  
    81                         ALLOW       Anywhere                  
    443                        ALLOW       Anywhere                  
    80/tcp                     ALLOW       Anywhere                  
    OpenSSH (v6)               ALLOW       Anywhere (v6)             
    51820 (v6)                 ALLOW       Anywhere (v6)             
    2333 (v6)                  ALLOW       Anywhere (v6)             
    80 (v6)                    ALLOW       Anywhere (v6)             
    81 (v6)                    ALLOW       Anywhere (v6)             
    443 (v6)                   ALLOW       Anywhere (v6)             
    80/tcp (v6)                ALLOW       Anywhere (v6)
    
  • How can I bypass CGNAT by using a VPS with a public IPv4 address?
  • Alright, I switched to ufw and... it's still not working. sigh

    Should we just try something completely different? WireGuard doesn't seem to be working on my VPS. Someone in the comments mentioned tunneling via SSH, sounds interesting.

  • How can I bypass CGNAT by using a VPS with a public IPv4 address?
  • I tried to open the port 22 on UDP (yeah, I am getting pretty desperate over here...) and still get the message no port[s] to connect to... Someone else on this post commented that I should stop using iptables for opening ports and start using something else as a firewall. Should I try this approach?

  • How can I bypass CGNAT by using a VPS with a public IPv4 address?
  • The command you provided for the VPS returns UDP listen needs -p arg, so I just added -p right before the port number and then it worked. Running the homelab command returns no port[s] to connect to... Not good.

  • How can I bypass CGNAT by using a VPS with a public IPv4 address?
  • I have no idea how to properly manage the firewall with Hetzner. I've opened the ports on the Hetzner management page and I ran several iptables commands to allow traffic from those ports. Still doesn't work. This is weird!

  • How can I bypass CGNAT by using a VPS with a public IPv4 address?
  • I do not get a response when pinging the VPS's WG IP from my homeserver. It might have something to do with the firewall that my VPS provider (Hetzner) is using. I've now allowed the port 51820 on UDP and TCP and it's still the same as before... This is weird.

  • How can I bypass CGNAT by using a VPS with a public IPv4 address?
  • Hi, thank you so much for trying to help me, I really appreciate it!

    VPS wg0.conf:

    [Interface]
    Address = 10.0.0.1/24
    ListenPort = 51820
    PrivateKey = REDACTED
    
    PostUp = iptables -t nat -A PREROUTING -p tcp -i eth0 '!' --dport 22 -j DNAT --to-destination 10.0.0.2; iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source SERVER_IP
    PostUp = iptables -t nat -A PREROUTING -p udp -i eth0 '!' --dport 55107 -j DNAT --to-destination 10.0.0.2;
    
    PostDown = iptables -t nat -D PREROUTING -p tcp -i eth0 '!' --dport 22 -j DNAT --to-destination 10.0.0.2; iptables -t nat -D POSTROUTING -o eth0 -j SNAT --to-source SERVER_IP
    PostDown = iptables -t nat -D PREROUTING -p udp -i eth0 '!' --dport 55107 -j DNAT --to-destination 10.0.0.2;
    
    [Peer]
    PublicKey = REDACTED
    AllowedIPs = 10.0.0.2/32
    

    Homeserver wg0.conf:

    [Interface]
    Address = 10.0.0.2/24
    PrivateKey = REDACTED
     
    [Peer]
    PublicKey = REDACTED
    AllowedIPs = 0.0.0.0/0
    PersistentKeepalive = 25
    Endpoint = SERVER_IP:51820
    

    (REDACTED would've been the public / private keys, SERVER_IP would've been the VPS IP.)

  • How can I bypass CGNAT by using a VPS with a public IPv4 address?
  • The biggest obstacle for me is the connection between the VPS and my homeserver. I have tried this today and I tried pinging 10.0.0.2 (the homeserver IP via WireGuard) and get this as a result:

    PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
    From 10.0.0.1 icmp_seq=1 Destination Host Unreachable
    ping: sendmsg: Destination address required
    From 10.0.0.1 icmp_seq=2 Destination Host Unreachable
    ping: sendmsg: Destination address required
    ^C
    --- 10.0.0.2 ping statistics ---
    2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1019ms
    

    Not sure why though.

  • How can I bypass CGNAT by using a VPS with a public IPv4 address?
  • Not really, pinging my homeserver via the VPS returns:

    PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
    From 10.0.0.1 icmp_seq=1 Destination Host Unreachable
    ping: sendmsg: Destination address required
    From 10.0.0.1 icmp_seq=2 Destination Host Unreachable
    ping: sendmsg: Destination address required
    ^C
    --- 10.0.0.2 ping statistics ---
    2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1019ms
    
  • How can I bypass CGNAT by using a VPS with a public IPv4 address?

    I want to move away from Cloudflare tunnels, so I rented a cheap VPS from Hetzner and tried to follow this guide. Unfortunately, the WireGuard setup didn't work. I'm trying to forward all traffic from the VPS to my homeserver and vice versa. Are there any other ways to solve this issue?

    VPS Info:

    OS: Debian 12

    Architecture: ARM64 / aarch64

    RAM: 4 GB

    Traffic: 20 TB

    52
    After some trial and error, I've managed to successfully deploy public instances of privacy-respecting services!
  • Hey, thank you for your blog post. I'm definitely reconsidering my choices with Cloudflare tunnels. I will take a look at the VPS setup. Privacy is something that I really care about, so this would be pretty useful. I would definitely be ready to pay 3.29€ per month for the privacy aspects of this setup.

  • After some trial and error, I've managed to successfully deploy public instances of privacy-respecting services!

    Hi, you guys might know me from these three posts. After reading all of the comments, I've decided to purchase a Mini PC to host public instances of privacy-respecting services.

    I'm here to bring some good news: I got it working perfectly! You can visit reallyaweso.me today and get a list of services that I'm hosting!

    All services are deployed via Docker and proxied through Cloudflare. You might ask: "Why Cloudflare?". It's because I can't port forward things on my home network. It really sucks that I'm depending on Cloudflare to do the port forwarding for me, but it is what it is.

    If you want me to host a specific service that you want, feel free to comment on this post!

    I would really appreciate it if you guys could checkout some services that I'm hosting, as I don't know if everything went smoothly or not. Thank you guys so much for helping me on this journey!!

    40
    Can a Raspberry Pi 5 with 8 GB of RAM handle my needs?

    I recently bought a domain from Porkbun (thanks to all of the comments on this post!) and I want to self-host some services myself. I currently have a Raspberry Pi 3 Model B+ and I'm not quite sure if it can handle these things:

    • A matrix homeserver
    • A lemmy instance
    • A website with static HTML pages
    • Privacy-respecting frontends (Piped, Redlib etc.)

    I am thinking about getting a maxed-out Raspberry Pi 5 with a whole 8 Gigabytes of RAM. Is it worth it? I need a machine that is quiet, doesn't draw that much power and is overall pretty good for the money.

    Edit: I bought this Mini PC instead of the Raspberry Pi 5. Thanks to all the comments!!

    63
    Owners of a domain, which domain registrar did you choose and why?

    I'm currently on the lookout for privacy-respecting domain registrars. What are you guys using and why?

    Edit: I've registered my domain with Porkbun. I got a really cool one, it's called reallyaweso.me!

    144
    What is the /opt directory?

    I've seen a lot of self-hosted software wanting to store their data in /opt, is there any reason why?

    46
    What's the deal with Docker?

    I never understood how to use Docker, what makes it so special? I would really like to use it on my Rapsberry Pi 3 Model B+ to ease the setup process of selfhosting different things.

    I'm currently running these things without Docker:

    • Mumble server with a Discord bridge and a music bot
    • Maubot, a plugin-based Matrix bot
    • FTP server
    • Two Discord Music bots

    All of these things are running as systemd services in the background. Should I change this? A lot of the things I'm hosting offer Docker images.

    It would also be great if someone could give me a quick-start guide for Docker. Thanks in advance!

    98
    Looking for clan members!
    link.clashofclans.com Clash of Clans

    Open link in Clash of Clans or download the game.

    Clash of Clans

    I've recently created a new clan and I'm trying to let it grow naturally. Join my clan if you meet the following requirements:

    • Have at least 1000 trophies in Home Village
    • Be at least Town Hall 8
    • Donate if you can
    • If possible, be active in Clan Wars

    If you're interested, feel free to join!

    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)AL
    AlexPewMaster @lemmy.zip

    Hi, I'm Alex! I like to talk about all sorts of things, like self-hosting stuff, programming shenanigans, random memes, games and probably some other stuff too!

    Posts 8
    Comments 43