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


Groups > linux.debian.user > #211666

Re: usenet and firewalld

From Reco <recoverym4n@enotuniq.net>
Newsgroups linux.debian.user
Subject Re: usenet and firewalld
Date 2019-07-23 09:00 +0200
Message-ID <ymWWd-1mw-1@gated-at.bofh.it> (permalink)
References <ymGy6-85W-1@gated-at.bofh.it> <ymJvX-1rd-5@gated-at.bofh.it> <ymNSW-4fB-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Mon, Jul 22, 2019 at 04:16:58PM -0500, Charles Zeitler wrote:
> On Mon, Jul 22, 2019 at 11:33 AM Reco <recoverym4n@enotuniq.net> wrote:
> >
> > On Mon, Jul 22, 2019 at 08:22:41AM -0500, Charles Zeitler wrote:
> > > how do i configure firewalld to allow nntp?
> >
> > Unless you did something very unconventional, firewalld should not
> > prevent you from establishing outbound connections from your host.
> > Therefore no configuration should be required.
> >
> > But, since you have to ask I assume that it's not that simple.
> > So, please post the output of "/sbin/iptables-save" executed as root.

Let's get started. This one could ruin your day (SELinux), but the rules
are empty:

> *security
...
> :OUTPUT_direct - [0:0]
> -A OUTPUT -j OUTPUT_direct

And this one too, but it can not:

> *filter
...
> :OUTPUT ACCEPT [1029141:87693717]
...
> :OUTPUT_direct - [0:0]
> -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
...
> -A OUTPUT -j OUTPUT_direct


So, unless you're trying to connect via IPv6 (and in this case it's
called "/sbin/ip6tables-save"), or have custom nft rules that cannot be
translated to conventional iptables syntax - firewalld should not
prevent you from using nntp.

Reco

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


Thread

usenet and firewalld Charles Zeitler <cfzeitler@gmail.com> - 2019-07-22 15:30 +0200
  Re: usenet and firewalld Reco <recoverym4n@enotuniq.net> - 2019-07-22 18:40 +0200
    Re: usenet and firewalld Charles Zeitler <cfzeitler@gmail.com> - 2019-07-22 23:20 +0200
      Re: usenet and firewalld Reco <recoverym4n@enotuniq.net> - 2019-07-23 09:00 +0200

csiph-web