With help from netChess (http://home.arcor.de/bernhard.wallner/netChess.html) I'm able to use UCI engine over the LAN, but I wanted to do the same over the internet using port forwarding: remote machine behind NAT, home network NAT'ed too, but I have a 100% control over home network and I have linux host with ssh daemon I can use. Here is what I want to achieve:
remote Win machine R (running UCI engine)
|
(internet tunnel)
|
ssh host S
|
|
home laptop H (running Junior)
What I've tried is I launched UCI engine on R listening on port 7799, opened remote port 7799 on S and forwarded to local 7799 on R, so in theory anything in my home network connected to 7799 on S would actually talk to engine on R. Then I configured my H in the way that engineClient talks to S on port 7799 and tried to configure UCI engine in Junior - no luck

The whole tunneling concept works, as I was able to do the same with Remote Desktop (RDP protocol) configured the same way as above, of course different ports.
So my question is if anyone was able to do the same setup with netChess, or maybe some other, similar software?