If, by gateway you mean simple NAT, do a port forward using whatever
commands related to your style of gateway, ipchains or iptables. This can
be easy or hard depending on the default policies.

With iptables it would look like this

/correct_path/iptables -t nat -A PREROUTING -i {external interface} -p tcp
--dport 5900 -j DNAT --to {internal machine's IP address}:5900

Choosing a strange port on the external interface would make your setup
less obvious. Its not more secure, but full port scans are less common
since ISP have gotten more aggressive, so most amateur attacks will not
find you.

And I believe you need ipmasqadm or ipportfw for ipchains, but its been a
while since I used that.

A more secure method would be to use the SSH on the linux box to port
forward and encryt the connection. It requires a password and does not
create a permament port forward. Use putty for example and enter:

putty -ssh -2 -C -t -l username -L 5900:{ip of host}:5900 {ip of gateway}

Enter password when asked, then vncviewer to your localhost. I use a user
reserved for this use and edit the passwd file so /correct_path/cat is the
shell for that user.

Dig in! You will get running eventually.

Denilson Amaral Zimmermann said:
> Hello all !!
>
> I have VNC installed on a win 98, but my internet is connected on a Linux,
> which is my gateway.
>
> Can i access windows VNC through linux gateway??
>
> Regards !!!
>
> Denilson A. Zimmermann
> Technical Support
> Brazil
> _______________________________________________
> VNC-List mailing list
> [EMAIL PROTECTED]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to