Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

134
Views
La opción -t no se puede usar en iptables-restore

Recibí este error cuando quiero restaurar mis reglas de iptables desde un archivo.

 iptables-restore v1.4.21: The -t option (seen in line 5) cannot be used in iptables-restore. Error occurred at line: 5 Try `iptables-restore -h' or 'iptables-restore --help' for more information.

Ahí está mi iptables:

 *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -t nat -A POSTROUTING -o eth0 -j MASQUERADE -A FORWARD -i eth0 -o lxcbr0 -m state --state RELATED,ESTABLISHED -j ACCEPT -A FORWARD -i lxcbr0 -o eth0 -j ACCEPT COMMIT

No puedo hacerlo sin la opción -t.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Lo resolví:

 *nat :PREROUTING ACCEPT [0:0] :INPUT ACCEPT [0:0] :OUTPUT ACCEPT [1:76] :POSTROUTING ACCEPT [0:0] -A POSTROUTING -o eth0 -j MASQUERADE COMMIT *filter :INPUT ACCEPT [95:5492] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [48:3648] -A FORWARD -i eth0 -o lxcbr0 -m state --state RELATED,ESTABLISHED -j ACCEPT -A FORWARD -i lxcbr0 -o eth0 -j ACCEPT COMMIT
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!