Public IPv4 for home lab / SME network

Discussion in 'Server Operation' started by 30uke, Dec 27, 2023.

  1. 30uke

    30uke Active Member HowtoForge Supporter

    Hello,

    I would like to share my bash script which I use to forward traffic to my firewall at my home office. The traffic arrives at the public IPv4 of a VPS and is forwarded with IPTables via a GRE tunnel to my firewall at home. The traffic is then forwarded to the appropriate VM (in my case a VM running ISPConfig on Debian).

    https://github.com/bhenstra/LiFiWall-Scripts/tree/main/IPTables Forwarding GRE

    My idea is to also share the configuration of the VPS + the firewall configuration as well at a later date. Basically my idea is to write a tutorial on setting up a home lab or DIY home office/SME network.

    I would like to know if the idea appeals and what you think about my initial script.

    Thank you.

    Kind regards,
    Bouke
     
    ahrasis and Th0m like this.
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Good tool you created there. Keep it up.

    Anyway, in my mind, most all ISP provide access to public IPV4, dynamic or static, paid or free, so I'd rather use it directly rather then tunneling, especially when the VPS provider have their traffic limits. I already created several via this method, so it is my preference, compared to tunneling.
     
    30uke likes this.
  3. 30uke

    30uke Active Member HowtoForge Supporter

    Thanks. I agree. Sometimes the challenge is that I have little influence over certain internet connections. It also happens sometimes that a customer simply does not have a suitable internet connection. For example, the internet provider does not want to set a PTR. This still happens quite often with small businesses. There is sometimes not enough time to request a different or additional internet connection. It is then more convenient to work around the problem.
     

Share This Page