iptables

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • I have success.

      The iptables-restore file works when its in the /etc directory i.e. /etc/iptables.rules

      The command that i got to work was

      pre-up iptables.restore < /etc/iptables.rules

      The only downside that I see is when you build up the iptables incoming rules. If you use a dyndns.org or similar address is then transcodes it to a line like B5789.net etc.. when you save it to iptables-save it then converts it to an ip address

      so when you do a iptables-restore it imports the ip address and not the dns setting. So during the time the box is on, if a user restarts their router and therefore their ip address changes, my box wouldnt allow them on.
    • The only thing I did with iptables was preserving the box of a relative from his IT college mates. So I have no idea about the dns related stuff of iptables.

      Mamba
      checking for long long... yes<br>
      checking for long double... yes<br>
      +++ Divide By Cucumber Error. Stopping. +++<br><br>
    • @ricster
      @mamba0815 I have one questions.
      How can i add this to work by next boot ?
      I can't find iptables-persistent.

      Quellcode

      1. Save iptables rules for next boot
      2. sudo apt install iptables-persistent
      3. sudo bash -c iptables-save > /etc/iptables/rules.v4



      Route between ZeroTier and Physical Networks

      Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von caporeira ()