[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ifup && iptables error



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

Reply to: