Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #219509

Re: ifup && iptables error

From William Torrez Corea <willitc9888@gmail.com>
Newsgroups linux.debian.user
Subject Re: ifup && iptables error
Date 2020-02-26 23:20 +0100
Message-ID <zEdc6-4iu-3@gated-at.bofh.it> (permalink)
References <zDR1T-6zB-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

But when i modify the following file

/etc/iptables/rules.v4

# Generated by xtables-save v1.8.2 on Mon Aug  5 19:42:00 2019
*nat
-A POSTROUTING -o eth0 -j MASQUERADE
COMMIT

*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A OUTPUT -d 127.0.0.1/32 -j ACCEPT
-A OUTPUT -d 192.168.0.0/16 -j ACCEPT
-A OUTPUT -d 10.0.0.0/8 -j ACCEPT
-A OUTPUT -d 172.16.0.0/12 -j ACCEPT
#COMMIT
# Completed on Mon Aug  5 19:42:00 2019

The problem disappear.

This problem appear when i try to install the package git-all with apt.


On Tue, Feb 25, 2020 at 10:37 PM William Torrez Corea <willitc9888@gmail.com>
wrote:

> I get the following error message
>
> [....] Configuring network interfaces...ifquery:
> /etc/network/interfaces:19: unknown or no address type and no inherits
> keyword specified
> ifquery: couldn't read interfaces file "/etc/network/interfaces"
> ifquery: /etc/network/interfaces:19: unknown or no address type and no
> inherits keyword specified
> ifquery: couldn't read interfaces file "/etc/network/interfaces"
> ifup: /etc/network/interfaces:19: unknown or no address type and no
> inherits keyword specified
> ifup: couldn't read interfaces file "/etc/network/interfaces"
> failed.
> [ ok ] Cleaning up temporary files....
> [ ok ] Setting up ALSA...done.
> [ ok ] Setting sensors limits...done.
> [....] Loading netfilter rules...run-parts: executing
> /usr/share/netfilter-persistent/plugins.d/15-ip4tables start
> Bad argument `COMMIT'
> Error occurred at line: 4
> Try `iptables-restore -h' or 'iptables-restore --help' for more
> information.
> run-parts: /usr/share/netfilter-persistent/plugins.d/15-ip4tables exited
> with return code 2
> run-parts: executing
> /usr/share/netfilter-persistent/plugins.d/25-ip6tables start
> failed.
>
> --
> William Torrez Corea
>


-- 
William Torrez Corea
Linux debian 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20)
x86_64 GNU/Linux

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

ifup && iptables error William Torrez Corea <willitc9888@gmail.com> - 2020-02-25 23:40 +0100
  Re: ifup && iptables error deloptes <deloptes@gmail.com> - 2020-02-26 00:30 +0100
  Re: ifup && iptables error Reco <recoverym4n@enotuniq.net> - 2020-02-26 08:00 +0100
  Re: ifup && iptables error William Torrez Corea <willitc9888@gmail.com> - 2020-02-26 22:30 +0100
    Re: ifup && iptables error Reco <recoverym4n@enotuniq.net> - 2020-02-27 12:10 +0100
  Re: ifup && iptables error William Torrez Corea <willitc9888@gmail.com> - 2020-02-26 23:20 +0100
  Re: ifup && iptables error William Torrez Corea <willitc9888@gmail.com> - 2020-03-18 02:20 +0100
    Re: ifup && iptables error Dan Ritter <dsr@randomstring.org> - 2020-03-18 15:00 +0100
  Re: ifup && iptables error William Torrez Corea <willitc9888@gmail.com> - 2020-03-20 20:20 +0100
    Re: ifup && iptables error Dan Ritter <dsr@randomstring.org> - 2020-03-20 21:20 +0100
      Re: ifup && iptables error songbird <songbird@anthive.com> - 2020-03-21 00:40 +0100

csiph-web