ouvrir port vnc

Page principale

Répondre à ce message
Auteur: Patrick Dupre
Date:  
À: guilde
Sujet: ouvrir port vnc
Bonsoir,

J'essaie d'ouvrir un port vnc

Sur le serveru:
nmap -v -n -Pn -p5900-5910 localhost
me donne

Starting Nmap 7.70 ( https://nmap.org ) at 2020-02-15 15:07 EST
Initiating SYN Stealth Scan at 15:07
Scanning localhost (127.0.0.1) [11 ports]
Completed SYN Stealth Scan at 15:07, 0.42s elapsed (11 total ports)
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000015s latency).
Other addresses for localhost (not scanned): ::1

PORT     STATE  SERVICE
5900/tcp closed vnc
5901/tcp closed vnc-1
5902/tcp closed vnc-2
5903/tcp closed vnc-3
5904/tcp closed unknown
5905/tcp closed unknown
5906/tcp closed unknown
5907/tcp closed unknown
5908/tcp closed unknown
5909/tcp closed unknown
5910/tcp closed cm



J'ai aussi
iptables -L |grep 5901
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:5901


netstat -napt | grep -i vnc
tcp        0      0 0.0.0.0:5901            0.0.0.0:*               LISTEN      6309/Xvnc           
tcp6       0      0 :::5901                 :::*                    LISTEN      6309/Xvnc


systemctl status firewalld.service
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2020-02-10 17:09:16 EST; 4 days ago
     Docs: man:firewalld(1)
 Main PID: 928 (firewalld)
    Tasks: 2 (limit: 4915)
   Memory: 39.1M
   CGroup: /system.slice/firewalld.service
           └─928 /usr/bin/python3 /usr/sbin/firewalld --nofork --nopid


Feb 10 17:09:14 euripide systemd[1]: Starting firewalld - dynamic firewall daemon...
Feb 10 17:09:16 euripide systemd[1]: Started firewalld - dynamic firewall daemon.



===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre@???
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988
===========================================================================