Skip to main content
1 of 5
Jhonathan
  • 3.8k
  • 4
  • 27
  • 23

Why iptables rules drop when restart my computer?

I add this rule

sudo iptables -t nat -A OUTPUT -d a.b.c.d -p tcp --dport 1723 -j DNAT --to-destination a.b.c.d:10000
  1. When restart computer rules are deleted.¿Why?
  2. What I can do to make the rules not be deleted?
Jhonathan
  • 3.8k
  • 4
  • 27
  • 23