The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
.
google unix.com



Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Ping Tunnel 0.7 (Default branch) iBot Software Releases - RSS News 0 01-14-2009 03:20 AM
Tunnel Manager 0.5 (Default branch) iBot Software Releases - RSS News 0 01-07-2009 02:00 AM
Tunnel Manager 0.4.5 (Default branch) iBot Software Releases - RSS News 0 01-02-2009 10:50 PM
using a ssh tunnel with nx compression bolboln01 High Level Programming 0 02-22-2008 06:44 AM
Shell Tunnel 0.1.11 (Default branch) iBot Software Releases - RSS News 0 01-16-2008 07:50 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-21-2009
upengan78 upengan78 is offline
Registered User
  
 

Join Date: Jun 2008
Location: Texas
Posts: 142
UDP/ tunnel

Hi,

I know tcp port tunneling can be done using ssh/putty. how about udp?

I have a scenario where a license server handsout licenses to machines in that network ONLY. I have a windows machine in a different subnet and even though the client software can see license server, while using the software the lic. server denies the permission because the windows machine is not in the same subnet as that of license server.

The license server here is windows. The service runs on port_a ( I think this should be 2047 UDP for opnet)

There are solaris / linux machines in the same network as that of license server which can be used for tcp/udp tunneling but I don;t know how I should make use of that. I do have account on those unix/linux machines and tcp forwarding/gateway ports is enabled in sshservers.

Is there anyway from client(windows), I can specify " localhost : port_a "as license server and so software will query to localhost:2047(udp). Can we forwards 2047 UDP to localhost:2047(tcp)?

Then do ssh tcp forwarding to linux machine for tcp port 2047. Then on remote linux machine forward tcp 2047 to localhost:2047(udp) and forward that udp 2047 to license server 2047 (udp)?

Is this technically possible? May be using nc(netcat) or udp_redirect?

or if there is any other way to let such users use the lic. servers successfully?

Please help..
Thanks in advance!
  #2 (permalink)  
Old 09-21-2009
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,929
ssh doesn't support UDP tunneling, just TCP. Maybe you should investigate a VPN solution.
  #3 (permalink)  
Old 09-21-2009
upengan78 upengan78 is offline
Registered User
  
 

Join Date: Jun 2008
Location: Texas
Posts: 142
Quote:
Originally Posted by Corona688 View Post
ssh doesn't support UDP tunneling, just TCP. Maybe you should investigate a VPN solution.
That's right, ssh does not support udp. problem with our VPN is that it can not provide an IP from license server's network. So VPN is also not really useful. May be configuring openvpn will be a good idea?
  #4 (permalink)  
Old 09-21-2009
dentar dentar is offline
Registered User
  
 

Join Date: Dec 2008
Posts: 7
since we don't know how the license server works it's not really possible for this problem to be solved. does the client send a request first? or does the server just "hand out" licenses? does the server use broadcast to send out the replies or does it reply directly to the IP of the client? if it does indeed just broadcast then you're stuck either moving the machine or adding a NIC to it or rearranging your VLAN or some such.
  #5 (permalink)  
Old 09-21-2009
upengan78 upengan78 is offline
Registered User
  
 

Join Date: Jun 2008
Location: Texas
Posts: 142
Quote:
Originally Posted by dentar View Post
since we don't know how the license server works it's not really possible for this problem to be solved. does the client send a request first? or does the server just "hand out" licenses? does the server use broadcast to send out the replies or does it reply directly to the IP of the client? if it does indeed just broadcast then you're stuck either moving the machine or adding a NIC to it or rearranging your VLAN or some such.
Thanks for your inputs. Makes sense. I really don't know how lic. works because vendor has made least documentation available in this regard. Had it been Flexlm, it would have been better. My only hope was if someone knew how Opnet license service works. Having said that, I ran wireshark on client and checked what the application is doing and saw that there were attempts to connect to port 2047 (udp) on server IP but it seems when Lic. server checks the client IP and finds that not being in the same network, rejects it. The application has a configuration to provide IP of lic. server.

Thanks again
  #6 (permalink)  
Old 09-21-2009
johnalexhebert johnalexhebert is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 3
FWIW, netcat will tunnel UDP over SSH

Here is a nice tutorial for UDP on port 53:

Performing UDP tunneling through an SSH connection
  #7 (permalink)  
Old 3 Weeks Ago
upengan78 upengan78 is offline
Registered User
  
 

Join Date: Jun 2008
Location: Texas
Posts: 142
Quote:
Originally Posted by johnalexhebert View Post
Here is a nice tutorial for UDP on port 53:

Performing UDP tunneling through an SSH connection
For some reason I did not get message about updated thread. Thanks, I was able to do what I wanted to using udp-tunnel program but I am curious about the link you have posted. I'll go through it

Thank you!
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:17 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0