[Firehol-support] Port forwarding a VNC connection

Marcus Williams marcus at quintic.co.uk
Tue Nov 8 16:39:43 GMT 2005


On 08/11/2005 Marcus Williams wrote:
> I want to forward an external vnc connection to an internal machine 
> through firehol. I've tried adding:
> 
> dnat to 192.168.202.3:5900 inface eth1 proto tcp dport 5900
> 
> where 192.168.202.3 is the internal machine and eth1 is out ADSL 
> router interface. Connections are getting passed inwards but then 
> they fail.

... probably because I missed out the router command as well. Now I've 
added:

router ext2int inface eth1 outface eth0
   route vnc accept dst 192.168.202.3

and it all seems to work!

Thanks anyway,

Marcus

-- 
Marcus Williams -- http://www.cad-schroer.co.uk
CAD Schroer UK, 39 Newnham Road, Cambridge, UK




More information about the Firehol-support mailing list