UDP/ tunnel

 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions UDP/ tunnel
# 1  
Old 09-21-2009
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..Smilie
Thanks in advance!
# 2  
Old 09-21-2009
ssh doesn't support UDP tunneling, just TCP. Maybe you should investigate a VPN solution.
# 3  
Old 09-21-2009
Quote:
Originally Posted by Corona688
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  
Old 09-21-2009
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  
Old 09-21-2009
Quote:
Originally Posted by dentar
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. Smilie 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 againSmilie
# 6  
Old 09-21-2009
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  
Old 10-29-2009
Quote:
Originally Posted by johnalexhebert
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!Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Tunnel using SSH

I am not clear with the part of concept of Tunneling using ssh. ssh -f -N -L 1029 192.168.1.47:25 james@192.168.1.47 I found out that above code works for me . but didn't quite well understood how ti works and need to ask you guys some questions. since we are using tunnel through ssh ... (2 Replies)
Discussion started by: lobsang
2 Replies

2. Solaris

Tunnel X over ssh for 11.3

Hello Solaris experts: Trying to bring the 11.3 gdm screen over ssh to a Linux Box: I did the following: 1. made chanes to /etc/ssh/sshd_config & bounced ssh daemon: # X11 tunneling options X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes 2. From the remote Linux box: ... (6 Replies)
Discussion started by: delphys
6 Replies

3. Red Hat

X11 forwarding through a tunnel

Is it possible to launch an X11 application and have it use an X11 server on the other side of a bastion host? Specifically, here's my setup: my laptop ------------- bastion -------------- remote host I have putty installed on my laptop. The bastion is rhel 6.5 and the remote host is... (1 Reply)
Discussion started by: tsreyb
1 Replies

4. UNIX for Advanced & Expert Users

Ssh tunnel question

Hi all I have a suite of scripts that ssh to remote servers within a cluster and run some tests. This is done from a central server so that all of the test results can be captured in one location. Problem is I now have 509 tests and the number is growing. The scripts work by establishing a... (2 Replies)
Discussion started by: steadyonabix
2 Replies

5. IP Networking

Help with SSH tunnel?

I have a Java web app on machine (X) that needs to talk to an LDAP server (Y) on :636, but the LDAP server is only accessible on a particular network. I can login to a machine (Z) on that network from X, and this machine can talk to the LDAP server on :636. How can I tunnel so that X can... (2 Replies)
Discussion started by: spacegoose
2 Replies

6. Ubuntu

VPN tunnel to UDP tunnel

I have a program which uses TCP connection for VPN tunnel. How do i Change TCP tunnel to UDP tunnel?.. (1 Reply)
Discussion started by: sahithi
1 Replies

7. Cybersecurity

RDP over SSH Tunnel

Hi all, I'm trying have an alternative way of connecting into a Corporate network. Mostly in case the VPN down as I cannot also change the security policy. I want to expose windows RDP over ssh tunnel. I have 3 hosts in my scenario 1- Host a : Windows 2k8 has no internet access just only an... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies

8. UNIX for Advanced & Expert Users

ssh decipher a tunnel

Two question here, but it's only one on the protocol point of view. If two persons use the same key to connect to a SSH server is there a risk they can decipher the other tunnel. In other terms is that less safe than if they have two separate keys. Same question if two persons use the same user... (2 Replies)
Discussion started by: moi
2 Replies

9. UNIX for Advanced & Expert Users

Dynamic Tunnel

Hi All, Anyone here already done similar to the queries below ? Is there is a way to have a setup that would allow an SA to easily hook any prod server (external ip) to an internal ip without network reconfigurations ? Your comments here will be much appreciated. Thanks (4 Replies)
Discussion started by: linuxgeek
4 Replies

10. Programming

using a ssh tunnel with nx compression

hi everybody and thank you for this wondefrul forum this is my first thread posted here and i hope that i could find some help from your part (i am even sure) :D here is the situation: i am to develop an application of remote desktop access such as vnc, vpn and especially nx i want to develop... (0 Replies)
Discussion started by: bolboln01
0 Replies
Login or Register to Ask a Question