[Cafe] Fwd: changing port for nx cafe

Alan Dawson aland at burngreave.net
Sat Jan 26 13:01:42 GMT 2008



> ----- Forwarded message from Gareth Coleman <gareth at sublime.org> -----

> hello alan
> 
> During the move around at the weekend the sever ran out of batteries and
> shut down! oops. We restarted it but didn't look at it.
>
> Does that mean that the NX client is not loaded automagically?


The machine hadn't booted properly.. hmm

> Also can we change the port from 2222 to 3390- I've got work firewall issues
> and that port is already open for me.

Done..

We add the required lines to /etc/local.fw on the wrt'y

iptables -I FORWARD -i vlan1  -p tcp --dport 22 -j ACCEPT
iptables -A PREROUTING -t nat -p tcp -i vlan1 --dport 3390 -j DNAT --to
192.168.1.202:22


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.burngreave.net/pipermail/cafe/attachments/20080126/db3e5265/attachment.html 


More information about the Cafe mailing list