LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-14-2003, 05:15 AM   #1
sqn
Member
 
Registered: Apr 2002
Distribution: Ubuntu, Arch, freeBSD, Slackware
Posts: 210

Rep: Reputation: 30
VNC port redirection


I have a small home network, connected to the internet through a server...
To one of the compuers from the network i have to connect with vnc from the internet...

I don't know how to redirect the port so when a connection is made on the server on one special port to be redirected to my windows compuer

Thx in advance
 
Old 11-14-2003, 09:09 AM   #2
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
xinetd can do this for you

man xinetd.conf:
redirect Allows a tcp service to be redirected to another host. When xinetd receives a tcp connection on ...
 
Old 11-16-2003, 01:45 PM   #3
sqn
Member
 
Registered: Apr 2002
Distribution: Ubuntu, Arch, freeBSD, Slackware
Posts: 210

Original Poster
Rep: Reputation: 30
THX... there is only one problem... I use slackware and i don't have xinetd...

I heard that I can do it with iptables, but i don't know the port VNC uses...
The problem is half solved, now i only need the port

THX again
 
Old 11-16-2003, 04:18 PM   #4
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
the default port is 5900 (+ display number - 0 = Display:0 , etc. )
 
Old 11-17-2003, 02:41 AM   #5
sqn
Member
 
Registered: Apr 2002
Distribution: Ubuntu, Arch, freeBSD, Slackware
Posts: 210

Original Poster
Rep: Reputation: 30
thx a lot...
tyhe problem is solved

 
Old 11-18-2003, 09:38 PM   #6
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
no problem :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Port 80 redirection omlex Linux - Security 1 02-20-2005 03:22 PM
Port Redirection JonChristmas Linux - Networking 1 09-04-2004 03:19 AM
port redirection for squid htm Linux - Software 0 03-20-2004 08:59 AM
Port redirection on FreeBSD zemo Linux - Networking 1 10-15-2003 07:56 AM
Port Redirection Possible with Squid?? realos Linux - Security 1 01-28-2003 06:09 PM


All times are GMT -5. The time now is 01:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration