title: Make iptables rules persistent after restart
body: <p>I'm trying to redirect my port 80 to 8080 because the user need not type the url as webapp:8080 to access the web site.</p>
  
  <p>Here's the command that I came across to redirect from port 80 to 8080 :</p>
  
  <pre><code>sudo iptables -A PREROUTING -t nat -i enp0s25 -p tcp --dport 80 -j REDIRECT --to-port 8080
  </code></pre>
  
  <p>I'm now able to access the page as webapp/. But the problem now I'm facing is that I'm not able to access the page if I give webapp/ after I restart the system.</p>
  
  <p>How do I fix this?</p>