|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|
|||
can't connect to openbsd through standard VNC : connection refused
hello
i tried to : install tigervnc launch vncserver from the users'ssh remotely i added a password then in root: /etc/pf.conf Quote:
pfctl -f /etc/pf.conf then, on the vnc client, to connect : lanip:5900 with serveal pc on the same lan (everything is on lan, nothing uses internet), everytime the vnc client fails : ConnectToTcpAddr[ipv4]: connect: Connection refused Trying ipv6 connection to '192.168.1.53' ConnectToTcpAddr[ipv6]: trying ip-addr: '192.168.1.53' ConnectToTcpAddr[ipv6]: connect: Connection refused Unable to connect to VNC server (192.168.1.53:5900) vncviewer command failed: 0 i tried to look at : https://daemonforums.org/showthread.php?t=2449 https://daemonforums.org/showthread.php?t=11837 https://daemonforums.org/showthread.php?t=12505 without solution even in fe80:: .. i just dont understand |
|
|||
Quote:
Quote:
i tried by following this how-to : https://www.tumfatig.net/2011/vnc-server-on-openbsd/ does it works for you? for me : no. i didnt found any other... if somebody 'd like to help me, by xmpp tchat, to create a kind of "automatic script" whom permits to enable read-to-be-used VNC for workstations and personal laptops, in a way to avoid serching for hours a proper way of remote control.. alone i wont be able to.. |
|
||||
1. I already provided a PF rule which should pass port 5900 in any direction. Have you applied this rule? If so, what does your COMPLETE pf.conf look like now?
2. You are trying to follow a 13-year-old "howto" which does not have any firewall recommendations. Have you contacted the author for any updates or guidance? There is an email link at the bottom of the page. |
|
|||
Quote:
pf.conf : Quote:
Quote:
|
|
||||
You do not appear to have a firewall issue. From what you've posted, you have a "default pass" configuration. All traffic will either match the very last rule (pass on athn0...) if it is destined for port 5900 in either direction, otherwise, any other traffic will match your second rule (pass). PF has a "last matching rule wins" policy, unless expressly overridden, so your only block rule will not be applied to any traffic.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Connection refused" on my own web page | acampbell | OpenBSD General | 14 | 16th March 2020 03:41 PM |
connect to OpenBSD BOX with VNC | mfaridi | OpenBSD General | 9 | 14th April 2010 08:38 PM |
Working dial-up connection - No Client Connection | vigol | FreeBSD General | 5 | 22nd November 2009 10:59 PM |
Connection refused by tcp_wrappers | sniper007 | FreeBSD General | 1 | 30th August 2009 02:31 PM |
connect to openbsd box (ssh) | milo974 | Other BSD and UNIX/UNIX-like | 4 | 3rd January 2009 02:44 AM |