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


Groups > linux.debian.user > #211237

Re: systemd-networkd, bridge and containers: unable to ping host from guest

From lanquil <lanquil@gmx.com>
Newsgroups linux.debian.user
Subject Re: systemd-networkd, bridge and containers: unable to ping host from guest
Date 2019-07-11 18:00 +0200
Message-ID <yiJEd-7Qd-9@gated-at.bofh.it> (permalink)
References <yiHCp-6A8-13@gated-at.bofh.it> <yiIRP-7ye-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

On Thu 11 Jul 2019 at 16:51:50 +0200, john doe wrote:
> 
> If you can, I would turn off iptables to see if iptables is the culprit.

Ok, I have nftables.service active and stopping it I'm able to ping the host from the
guest. So this was the problem. Thank you very much =)

If I remember well, I configured nftables.conf using one of the Debian defaults. Since
it's a topic I still have not find the time to study, I'm a little blind on what I can
do to fix the configuration...

/etc/nftables.conf::

    #!/usr/sbin/nft -f

    flush ruleset

    table inet filter {
    	chain input {
    		type filter hook input priority 0;

    		# accept any localhost traffic
    		iif lo accept

    		# accept traffic originated from us
    		ct state established,related accept

    		# activate the following line to accept common local services
    		tcp dport { 22 } ct state new accept
    		#tcp dport { 22, 80, 443 } ct state new accept

    		# accept neighbour discovery otherwise IPv6 connectivity breaks.
    		ip6 nexthdr icmpv6 icmpv6 type { nd-neighbor-solicit,  nd-router-advert, nd-neighbor-advert } accept

    		# count and drop any other traffic
    		counter drop
    	}
    }


-- 
                                        ~ Sandro ~

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


Thread

systemd-networkd, bridge and containers: unable to ping host from  guest lanquil <lanquil@gmx.com> - 2019-07-11 15:50 +0200
  Re: systemd-networkd, bridge and containers: unable to ping host from  guest john doe <johndoe65534@mail.com> - 2019-07-11 17:10 +0200
    Re: systemd-networkd, bridge and containers: unable to ping host  from guest lanquil <lanquil@gmx.com> - 2019-07-11 18:00 +0200
      Re: systemd-networkd, bridge and containers: unable to ping host  from guest Reco <recoverym4n@enotuniq.net> - 2019-07-11 18:20 +0200
  Re: systemd-networkd, bridge and containers: unable to ping host  from guest Reco <recoverym4n@enotuniq.net> - 2019-07-11 17:50 +0200

csiph-web