Skip to main content
edited tags
Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 264
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.3k
  • 205
  • 1.8k
  • 2.3k
It's rather distro-specific question
Source Link
Mat
  • 54.9k
  • 11
  • 164
  • 143

Why do iptables rules dropdisappear when restarting my Debian system?

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 Why?
  2. What I can do to make the rules not be deletedpersist?

Why iptables rules drop when restarting my Debian system?

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?

Why do iptables rules disappear when restarting my Debian system?

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 persist?
Loading
Source Link
Jhonathan
  • 3.8k
  • 4
  • 27
  • 23
Loading