Toggle navigation
Koozali.org: home of the SME Server
Community
Forums
Bugs
Lists
Forum Help
Download
SME Server ISOs
Contribs
Documentation
Manual
Wiki
FAQ
HowTo
Donate
Search
Login
Register
Login
Register
×
Close
Login
Remember me
Koozali.org: home of the SME Server
Legacy Forums
General Discussion (Legacy)
Topic:
Port Forwarding Syntax
« previous
next »
+
Print
Pages: [
1
]
Go Down
Port Forwarding Syntax
10 Replies
3206 Views
chris g
Port Forwarding Syntax
«
on:
June 11, 2002, 11:35:38 PM »
Could somone please post a working port forward command? I have tried something resembling
ipmasqadm portfw -a -P tcp -L 1.1.1.1 5800 -R 2.2.2.2 5800
I am wishing to use VNC to remotely administer win98 machines.
Thank you for any help,
Chris G
Logged
TheRealWaldo
Re: Port Forwarding Syntax
«
Reply #1 on:
June 12, 2002, 06:12:44 AM »
/usr/sbin/ipmasqadm autofw -A -r tcp 5900 5900 -h xx.xx.xx.xx
VNC uses 5900+screen, default for windows is screen = 0.
replace xx.xx.xx.xx with the machines address running the VNC server.
W.
Logged
Dan Brown
Re: Port Forwarding Syntax
«
Reply #2 on:
June 12, 2002, 06:55:19 AM »
...or just use ssh tunneling, which requires no server-side configuration at all (other than allowing public SSH access).
Logged
TheRealWaldo
Re: Port Forwarding Syntax
«
Reply #3 on:
June 12, 2002, 07:16:49 AM »
He's using it to administer Windows 98 machines behind e-smith.
W.
Logged
Dan Brown
Re: Port Forwarding Syntax
«
Reply #4 on:
June 12, 2002, 07:20:32 AM »
...and?
Logged
Dan Brown
Re: Port Forwarding Syntax
«
Reply #5 on:
June 12, 2002, 07:23:13 AM »
OK, maybe I could have explained a bit. The type of machine behind the e-smith is irrelevant; you can create a tunnel to it, though the e-smith box, with SSH. I do it regularly. With VNC, even.
Logged
TheRealWaldo
Re: Port Forwarding Syntax
«
Reply #6 on:
June 12, 2002, 08:00:08 AM »
Sorry, missed the 'tunneling' part. My bad.
Yep, a little more secure as well.
W.
Logged
Chris G
Re: Port Forwarding Syntax
«
Reply #7 on:
June 12, 2002, 09:57:02 AM »
Thanks for all the great info. Could you expand on the ssh tunneling through the e-smith box? I searched around but could not seems to find anything that I can apply to this situation.
Logged
Andrew
Re: Port Forwarding Syntax
«
Reply #8 on:
June 12, 2002, 06:12:50 PM »
Is there a reason why no-one is suggeting the port forwarding RPM. I used that to access a W2K box behind the SME server - no probs.
e-smith-ipportfw-0.1.1-1.noarch.rpm
Cheers,
A.
Logged
Andrew
Re: Port Forwarding Syntax
«
Reply #9 on:
June 12, 2002, 06:23:10 PM »
Sorry all, I got that RPM wrong - that one didn't work for me and I went back to the tried and true:
dmc-mitel-portforwarding-0.0.1-4.noarch.rpm
Cheers,
A.
Logged
Dan Brown
Re: Port Forwarding Syntax
«
Reply #10 on:
June 12, 2002, 08:11:09 PM »
Chris, this is really a matter of the documentation of your SSH client. I use putty 0.52, and I set it up under connection/SSH/Tunnels. Set the local port to 5900, and the destination to [IP address on your lan]:5900. Then just point your VNC viewer to localhost.
Logged
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org: home of the SME Server
Legacy Forums
General Discussion (Legacy)
Topic:
Port Forwarding Syntax