Hi, my linux install a vncserver, than i want to active my firewall but i want to lets client to vnc to my vncserver, i already start vncserver: # vncserver
than listen on port 5901. this is vncserver :1
i have turn on my firewall protect, than i issue command:
# iptables -A INPUT -p tcp --dport 5901 -j ACCEPT
But on my client side to try vnc to this vncserver cannot access. Than i on vncserver there issue command:
# iptables -F
than client side can remote control so i confirm problem on iptalbes(firewall).
How to configure iptables(firewall) to lets client to vnc the server example :1 or :2 or :3 (port number: 5901, 5902 , 5903).