Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-27-2007, 10:49 AM   #1
LQ Newbie
Registered: Jan 2006
Posts: 8

Rep: Reputation: 0
Program to forward tcp sockets to unix domain sockets


I am wondering if there is a program to forward tcp connections to a unix domain sockets. Something like a proxy, but much simpler. It would listen on specified port and when connection is received, it would connect to the specified unix domain socket and forward all the information back and forth. I need this because of the lack of unix domain socket forwarding in standard ssh, which is very unfortunate. The primary purpose is to open my X connection to the world when it is running on unix domain socket with the -nolisten option. I know that such forwarding would be insecure, but that is not a concern. I also can't switch the X server to listen on tcp by itself for my 'internal' reasons.

I know that it's not impossible to write such forwarder myself, but just wondering if something like that already exists.

Thanks for any help.


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
IPtables - Active UNIX domain sockets LordDaemon Linux - Networking 2 11-12-2006 06:29 AM
TCP Network Sockets Rakoon Red Hat 1 08-04-2005 01:36 AM
IPC (Message Queues vs. FIFOs vs. Unix-domain Sockets) TedMaul Programming 0 03-18-2004 05:53 AM
Server/Client-commucation via TCP-Sockets cYbORg Programming 5 05-18-2003 07:01 PM
Maximum TCP-Sockets Quis Linux - Networking 2 01-17-2003 04:55 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:26 PM.

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