Lock down of xrdp

Support for security such as Firewalls and securing linux
Post Reply
Mart
Posts: 2
Joined: 2020/04/06 12:20:43

Lock down of xrdp

Post by Mart » 2020/04/06 14:39:41

Hi all.

newbie here so hopefully I'll try my best not to miss anything out :oops:

been using Centre 7 for few weeks now and I'm trying to lock down the use of xrdp by means of IP address
I have modified the xrdp.ini to read -

#[Xorg]
#name=Xorg
#lib=libxup.so
#username=ask
#password=ask
#ip=127.0.0.1
#port= 8888
#code=20

I then opened opened port 8888 via firewalld and then added a rich rule to port 8888 to reject any other ip apart from the one listed within the rule.
rebooted the server and then opened a VPN to obtain a new ip. RDP across using Windows 10 and for some reason I can still make a connection and login. Can anyone tell me where I am going wrong or what I have missed out? thanks :)

Kind regards
Martin.

User avatar
TrevorH
Forum Moderator
Posts: 29903
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Lock down of xrdp

Post by TrevorH » 2020/04/06 14:56:13

If you added those lines as-is with the # sign at the start, they are comments and do nothing.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Mart
Posts: 2
Joined: 2020/04/06 12:20:43

Re: Lock down of xrdp

Post by Mart » 2020/04/06 19:37:15

If it was that easy.. :) No I rem then out when I found it wasn't working - I can't see why it can't work, if I'm setting the port and opening that port?

It seems that every time I set the port to 8888 and try to login I get this error :-

VNC started connecting
VNC Connecting to 127.0.0.1 8888
VNC error - problem connecting
same problem

Post Reply

Return to “CentOS 7 - Security Support”