#nobridge

  • 2 Posts
  • 64 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle
  • Alternatively, you can create new users from the command line.
    This can be done as follows:

    If synapse was installed via pip, activate the virtualenv as follows (if Synapse was installed via a prebuilt package, register_new_matrix_user should already be on the search path):

    cd ~/synapse
    source env/bin/activate
    synctl start # if not already running
    Run the following command:
    register_new_matrix_user -c homeserver.yaml
    This will prompt you to add details for the new user, and will then connect to the running Synapse to create the new user. For example:

    New user localpart: erikj
    Password:
    Confirm password:
    Make admin [no]:
    Success!

    This process uses a setting registration_shared_secret, which is shared between Synapse itself and the register_new_matrix_user script.
    It doesn’t matter what it is (a random value is generated by --generate-config), but it should be kept secret, as anyone with knowledge of it can register users, including admin accounts, on your server even if enable_registration is false.

    https://element-hq.github.io/synapse/latest/setup/installation.html




  • pfsense and opnsense are very similar. The pfsense devs has acted like jackasses towards the opnsense gang. They are both great for a router/firewall/vpn device. I would use external access points with them.
    I think there are more addons to pfsense than opnsense.

    OpenWrt is great when it comes to WiFi, but I find it much less intuitive to use for router/firewall parts. Could be that I am used to the way pfsense and opnsense do things.

    Neither do switching from what I know, so pair the router with a switch of your choice.









  • If you go for SSD another thing to think about is the TBW on them. Buying a low endurance SSD might save some electricity but will cost more in SSDs over time. Example:
    Crucial P3 Plus M.2 NVMe SSD 2TB (2.67W on your link) has 440TBW compared to Kingston Fury Renegade M.2 NVMe SSD Gen 4 2TB (4.92W on your link) with 2000TBW.
    Those few watts you save on using the Crucial P3 Plus will be less than the extra cost in buying new SSDs earlier.
    The site I checked TBW on has the Kingston Fury at $9.4 more than the Crucial P3 Plus.

    I think proper datacenter 3.5’’ HDDs will give you the most efficient Wattage per TB disk space
    Seagate Exos X20 Harddisk ST20000NM007D 20TB SATA-600 7200rpm is supposed to have
    Power Consumption 5.4 Watt (idle) | 9.4 Watt (random read) | 6.4 Watt (random write)





  • Cockpit
    I do know about and use Cockpit with said virtual machine manager but I mostly use it as a shutdown/boot/restart app in my phone and a convenient service monitor and log viewer when troubleshooting.

    Wireguard/OpenVPN
    I really should try out Wireguard sometime but currently OpenVPN is fast enough for my bandwidth and I was already proficient with setting it up before Wireguard.
    The WebUI definitely looks useful.



  • My Debian Hypervisor do have a DE (GNOME) to be able to easily access virtual machines with virt-manager if I mess up their networking, my Debian VMs run CLI only though.

    Regarding your last section I agree strongly - I only expose my vpn with no other incoming ports open. You also don’t need to invest in a domain if you do it this way.
    I don’t mind helping my friends install their openvpn client and certificate and it’s nice to not have my services bombarded with failed connection attempts.