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


Groups > linux.debian.user > #262657

Re: Network tcp/iptables issue with XRDP

From Henggi <henggi667@gmail.com>
Newsgroups linux.debian.user
Subject Re: Network tcp/iptables issue with XRDP
Date 2023-10-24 15:30 +0200
Message-ID <HspDP-wDD-7@gated-at.bofh.it> (permalink)
References <HsoHM-vVA-29@gated-at.bofh.it> <Hspkt-wwV-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> On 24 Oct 2023, at 14:46, Dan Ritter <dsr@randomstring.org> wrote:
> 
> Henggi wrote: 
>> Hi list,
>> 
>> Completely stuck here, any clue appreciated!
>> 
>> — by default xrdp.ini listening config is set to "port=3389“ (which is expected to listen on ipv4 && ipv6 in parallel as I understand). However using that seems only to listen on tcp4 according to „netstat“
>> — therefore changed listening config to "port=tcp://:3389“ (which is exprected to listen on ip4/tcp only)… which seems todo that as per netstat output shown above
> 
> 
> man xrdp,ini:
> 
> address=ip address
>    Specify xrdp listening address. If not specified, defaults to 0.0.0.0 (all interfaces).
Never had any address specified in xrdp.ini… so it’s expected to listen to default 0.0.0.0 (all interfaces) which it did already before acc. to netstat (as mentioned in prev. email)

> ...
> port=port
>    Specify TCP port to listen on for incoming connections. The default for RDP is 3389.
> 
> 
> Remove or comment out all address and port lines from the config and
> restart xrdp.
> 
> Show us the TCP listener on the machine after that:
> 
> ss -tlnp | grep 3389

- when using „port=tcp://:3389“ in xrdp.ini:
root@server:~# ss -tlnp | grep 3389
LISTEN 0      2                 0.0.0.0:3389       0.0.0.0:*    users:(("xrdp",pid=96436,fd=11))

- when using using „port=3389“ in xrdp.ini:
root@mail:~# ss -tlnp | grep 3389
LISTEN 0      2                       *:3389             *:*    users:(("xrdp",pid=202831,fd=11))

-> either way behaviour is the same, tcp connection works from localhost but not from other host.

> 
> 
> Then try connecting from another machine.
> 
> -dsr-

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


Thread

Network tcp/iptables issue with XRDP Henggi <henggi667@gmail.com> - 2023-10-24 14:30 +0200
  Re: Network tcp/iptables issue with XRDP Dan Ritter <dsr@randomstring.org> - 2023-10-24 15:10 +0200
    Re: Network tcp/iptables issue with XRDP Henggi <henggi667@gmail.com> - 2023-10-24 15:30 +0200
      Re: Network tcp/iptables issue with XRDP Dan Ritter <dsr@randomstring.org> - 2023-10-24 15:40 +0200
        Re: Network tcp/iptables issue with XRDP Henggi <henggi667@gmail.com> - 2023-10-24 16:10 +0200
  Re: Network tcp/iptables issue with XRDP Arno Lehmann <al@its-lehmann.de> - 2023-10-24 15:40 +0200
    Re: Network tcp/iptables issue with XRDP Henggi <henggi667@me.com> - 2023-10-24 16:50 +0200
      Re: Network tcp/iptables issue with XRDP Arno Lehmann <al@its-lehmann.de> - 2023-10-24 17:50 +0200
        Re: Network tcp/iptables issue with XRDP Henggi <henggi667@gmail.com> - 2023-10-24 18:40 +0200
          Re: Network tcp/iptables issue with XRDP Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2023-10-25 10:40 +0200
    Re: Network tcp/iptables issue with XRDP Charles Curley <charlescurley@charlescurley.com> - 2023-10-24 17:30 +0200
      Re: Network tcp/iptables issue with XRDP Henggi <henggi667@gmail.com> - 2023-10-24 17:50 +0200
  Re: Network tcp/iptables issue with XRDP Max Nikulin <manikulin@gmail.com> - 2023-10-24 16:40 +0200
    Re: Network tcp/iptables issue with XRDP Henggi <henggi667@gmail.com> - 2023-10-24 18:20 +0200

csiph-web