• 1 Post
  • 29 Comments
Joined 1 year ago
cake
Cake day: September 28th, 2023

help-circle

  • You’re probably not exposed to the big internet. But that’s no excuse for poor security. I’d look up a hardening guide for your operating system.

    You should also look up hardening guides for any applications you plan to run, and follow simple security measures like not logging in as root/admin, strong passwords, 2FA.

    Not to say you’re at risk, but its good practice to make secure your default. Doing this will help you understand the basics of system security and the risks that systems have.



  • Boring@lemmy.mltoSelfhosted@lemmy.worldNetwork upgrades checkin
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Ooookay… Took me a second to wrap my head around the layout… Originally I only looked at the picture, which only shows a single switch.

    This is an odd topography. Typically when working with switches, you want them connecting directly to the router and not connected to another switch.

    You are going to have bandwidth issues out the ass, along with having a troubleshooting nightmare when something goes wrong and you need to trace packets.

    Right now you have a hub and a spoke inside a hub and spoke.

    Since it looks like your Asus is just an AP in this scenario, you’d be better off:

    • hooking both switches to the ISP router
    • enabling DHCP on the ISP router for the 2.5g switch
    • set your 1g switch to a different subnet, with default gateway to your ISP router
    • enable dhcp for different subnet
    • add Asus for WiFi ability on new subnet

    You can then play around with VLANing on the managed switch. You won’t be able to separate IoT and Personal WiFi signals with VLAN. Youd need to create a guest SSID for that functionality and change the channels to 6 and 11 so you get good bandwidth

    Edit: this is assuming you have a layer 3 switch, if its a layer 2 I would use the Asus as a router/AP and hook it directly to the ISP router and hook the switch up to the Asus.



  • Boring@lemmy.mltoSelfhosted@lemmy.worldNetwork upgrades checkin
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Looks like it’ll work. You should look into flashing that router with openwrt or pfsense and VLANing off those smart devices… They can be a security issue.

    Also adding a second AP that you place on a different channel for guest and untrusted devices would work and increase bandwidth, but adds some routing complexity.



  • Yea, I haven’t played with it too much. You’ll ever have to host your own SMTP server to send it or use gmail or protons SMTP service.

    Doing it yourself might cause big companies to send your mail to spam or possibly just drop the packets cause you’re not using a trusted IP, have the wrong DNS settings, etc. and your ISP may even block port 25

    This can be circumvented by using a SMTP relay service but can still have some issues like mail sending limits.


  • I would have a failsafe, like use a major email provider for emails that you need to go through for like work order government stuff.

    Hosting your own email is a great learning experience and is fun to do; but your emails will get marked as spam, you’ll have to constantly perform maintenance, and have major reliability issues.

    Most of the issues youll have are fine for personal use, but is dicey if you plan to migrate 100%

    Edit: receiving email is less of an issue of sending. The forwarder should be reliable, however, its the sending from the forwarding address that would possibly be an issue.


  • Honestly servers don’t need to be speced out of oblivion. I use a 10 year old desktop and added a 1TB ssd and it does 99% of what I want it too.

    Most important thing for a server is probably the CPU and making sure it has as many cores as possible and maybe hyper threading because you’ll be running a lot if simultaneous services and users.



  • Boring@lemmy.mltoSelfhosted@lemmy.worldRemote desktop
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    No only the server, you can host an openssh server and have clients connect remotely.

    Sorta like how you can host a webserver and a client doesn’t need 443 open. Except a reverse shell is possible with ssh, allowing a client to be controlled without their port 22 open.









  • /admin isnt a port it is just a subdirectory of lighttpd, the webpage pihole uses to display itself. If you don’t specify a port, your browser defaults to port 80 for http, and 443 on https.

    You can use the netstat -a while the webpage is open on your terminal to find what port is in use.

    In docker you can find this and change it in the yaml file if you deployed that way, otherwise you may need to kill the container and remake it and choose a different port when specifying the “p” in docker.

    If you didn’t use docker for pihole you will have to navigate to /etc/lighttpd/lighttpd.conf and modify the port number there.

    Edit: if you want to add a reverse proxy to this equation with a an actual domain name and real SSL certs check out this video: https://www.youtube.com/watch?v=qlcVx-k-02E


  • The issue is that pihole has a default on port 80 that can be set up to redirect to /admin. If your running searx on the same ports on the same IP something’s gonna break.

    You’ll need to change one if the applications port number and specify the port in your URL (192.160.0.19:8080) to get there.

    A reverse proxy will help only after you set your ports correctly.