• 0 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: June 23rd, 2023

help-circle





  • The client will look up your domain at whatever DNS it uses. It will return your public IP.

    Client will send a packet with that as destination. It will reach the router which goes ‘I know! The call is coming from inside the house!’ and sends it to the server without modification.

    The server gets it and sends a response, but the response is addressed back to client’s local IP.

    Client gets the response, but that packet’s origin (in the header) is server’s local IP.

    Client goes ‘wtf, I didn’t call you?!’ And drops the packet, still waiting for a response with your public IP as its origin.

    This can be solved with the router modifying the appropriate traffic’s headers so that the headers match the expected, called NAT Loopback, or by using IPv6 global addresses.

    It might also work running a local DNS server that returns your server’s local IP for a given domain, but that might yield certificate errors, and won’t work if devices ignore the DNS coming from DHCP.

    I was using straight firewall rules for some years, but lost the template when the NAT Loopback checkbox started working (OpenWRT).





  • I’m not an electrician, but an electrical engineer, and I bought a complete DIY package with everything. Electrical code here in Denmark then only needs a certified electrician to do the connection to the the grid, which includes submitting the system to the grid operator, also so we can be paid for the surplus production.

    If you know how to read the instructions, and plan your work, it’s quite fun, and I’m pretty sure my panels are better secured (likely overkill) and more straight than 80% of the professional installs here, just because we took the time to do it thoroughly.

    If you feel have the ability and you have the time, I would highly recommend it. But as another pointed out, try to find a kit with the mounting hardware!