From: Lars Monsees <l.monsees@at...> - 2006-01-30 12:13:29
I know this has probably been asked some times but I couldn=B4t find a =
solution through searching the forum and the mailinglist archive.
Our firewall is configured to accept incoming VNC connections and =
forward them to a listening client. This has been working without =
Now that the firewall rules where changed to deny outgoing connections =
by default, we need to explicitly allow ports to be used. I searched the =
documentation and found that ports 5400 and 5500 (+ display number) =
should be used.
Unfortunately, this doesn=B4t work. The listening client =
(192.168.120.24:24) accepts the incoming connection but cannot connect =
to the server.
iptables -A OUTPUT -o eth1 -p tcp --sport 5400 -j ACCEPT
iptables -A OUTPUT -o eth1 -p tcp --sport 5500 -j ACCEPT
iptables -A OUTPUT -o eth1 -p tcp --sport 5524 -j ACCEPT
As a temporary workaround, the admin allowed all source ports on my PC =
to go through and that works. However, we would prefer a better =
Can anybody tell me which ports are needed or what could be wrong with =
the firewall setup?