How to open 3389

Support for security such as Firewalls and securing linux
Post Reply
ppodsclan
Posts: 4
Joined: 2016/11/07 14:46:46

How to open 3389

Post by ppodsclan » 2016/11/07 14:54:13

Hello community, iam a begginer in centOS word, but have a good question.
How open 3389 port?

Current i have 3 eths ports ( eth0 - link status public , eth1 - lan+dhcp server status private, eth2 = lan - status private ), server CentOS 7.2 + firewalld + squid.


Ty

Yours Pedro

mghe
Posts: 766
Joined: 2015/11/24 12:04:43
Location: Katowice, Poland

Re: How to open 3389

Post by mghe » 2016/11/07 17:13:37

# firewall-cmd --add-port=3389/tcp --permanent
# firewall-cmd --reload

User avatar
TrevorH
Site Admin
Posts: 33221
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to open 3389

Post by TrevorH » 2016/11/07 17:20:34

or add the ms-wbt service.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

ppodsclan
Posts: 4
Joined: 2016/11/07 14:46:46

Re: How to open 3389

Post by ppodsclan » 2016/11/09 22:39:18

Didnt work..
:/


I do not need to make a redirect to a certain ip in my eth2? for example IP 192.168.0.100?

Ty

Yours Pedro

User avatar
TrevorH
Site Admin
Posts: 33221
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to open 3389

Post by TrevorH » 2016/11/09 23:03:58

Do you have an RDP server running?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

ppodsclan
Posts: 4
Joined: 2016/11/07 14:46:46

Re: How to open 3389

Post by ppodsclan » 2016/11/09 23:15:26

I would like to explain how this my server actuary:

[root@firewall ~]# firewall-cmd --get-active-zones
internal
interfaces: eno2 ens2f0
public
interfaces: eno1

[root@firewall ~]# firewall-cmd --zone=public --list-all
public (default, active)
interfaces: eno1
sources:
services: dhcp dhcpv6-client ldap samba ssh
ports: 3389/tcp 3128/tcp
masquerade: yes
forward-ports: port=80:proto=tcp:toport=3128:toaddr=192.0.1.5
icmp-blocks:
rich rules:

[root@firewall ~]# firewall-cmd --zone=internal --list-all
internal (active)
interfaces: eno2 ens2f0
sources:
services: dhcpv6-client ipp-client mdns samba samba-client ssh
ports: 3389/tcp 3128/tcp
masquerade: no
forward-ports: port=80:proto=tcp:toport=3128:toaddr=192.0.1.5
icmp-blocks:
rich rules:


How to open Terminal Service ( 3389/tcp), to acess one server ( IP: 192.168.0.100) in interface eno2 ?

ppodsclan
Posts: 4
Joined: 2016/11/07 14:46:46

Re: How to open 3389

Post by ppodsclan » 2016/11/10 00:04:33

TrevorH wrote:Do you have an RDP server running?
No,

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: How to open 3389

Post by hunter86_bg » 2016/11/14 11:25:49

[root@firewall ~]# firewall-cmd --zone=internal --list-all
internal (active)
interfaces: eno2 ens2f0
sources:
services: dhcpv6-client ipp-client mdns samba samba-client ssh
ports: 3389/tcp 3128/tcp
masquerade: no
forward-ports: port=80:proto=tcp:toport=3128:toaddr=192.0.1.5
icmp-blocks:
rich rules:
According to this - it's already opened. To check - try from the client side ( IP: 192.168.0.100) that the port is opened:

Code: Select all

nmap -sS -p3389 <ip_of_host_with_opened_3389>

Post Reply