Networking :: Udp Client Not Working From Remote Host?
Apr 17, 2010
i have a udp server running at port 60178. when i connect to it from localhost there is no problem. when i use the client from a remote host i am not able to connect. I changed my server firewall settings[Fedora 11] and added "udp 60178" to trusted ports but still nothing happened. I ran wireshark and observed that packets are coming to the server machine but server returns a "Port Unreachable" ICMP message and doesnt give the packet to the application.
I have CentOS 5.5 client and host in VBox. I can't connect them (I am using bridge adapter mode) as I don't have router in between.
I just created DHCPD on host, and followed
[URL]
But that don't seem to work also. Host is 192.168.1.10 and client is 192.168.1.100 but when I ping host from client, it says Destination host unreachable.
have fedora 10 and am having problems with ssh. For some reason I can't connect via a remote host to my ssh. Local network connections do work just fine. I have been looking for a log of what is going on but have not had luck seeing anything.Things I have tried:
-Modify hosts.allow to allow ssh to all -generated rsa1 key identity tryed specifying that with the -i option on the guest computer
I have a box (boell) running Fedora 10 sitting behind a firewall at school. I am able to freely ssh to and from this box to other computers (minion) within that lan. Outside of this network I cannot directly ssh to boell - I must ssh first to minion, then I can ssh to boell. I've spoken with the sysadmin and he's verified that the firewall permits ssh freely - i haven't had any issues like this with other boxes of mine there, so this isn't any surprise.
I have verified that the hosts.deny file is blank, iptables permits ports 22 (and 80) and I didn't see anything obvious in the sshd_config. I tried a tcp dump on the external host and boell while attempting to ssh from the former to boell. The packets appear to be acknowledged by boell, but this fails to lead to a connection. I've tried this process with external hosts in different locations with the same result. I have made few modifications to the default installation for F10, so perhaps there is some default somewhere I have to change. In any case, below I have attached excerpts of germane files.
======== ssh from boell ======= [root@boell log]# ssh -vvv 71.189.5.67 OpenSSH_5.1p1, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /etc/ssh/ssh_config
I have a Windows machine on which NX Client has been installed. I wanted to test if I could access my Ubuntu box. The Ubuntu Box has NX Server, Node and Client installed. When I try to log in from the Windows machine using NX Client with my Ubuntu username and password I get an error connection refused.
The following service is running: OpenBSD Secure Shell server sshd How can I resolve the issue?
I have a laptop on which i connect to internet using dialup modem.my laptop is also connected to a linux box via lan.now i want to connect to internet from the linux box, using internet connnection sharing from widows xp installed on laptop
No sure exactly what the problem is here? I am trying to get a X app running from a remote site on my desktop. I am using this proceedure:xhost +remote host xauth on local host the get 'Cookie'.
scp Cookie to remote host xauth merge Cookie into .Xauthority ssh to remote. export DISPLAY=local host:0 xfig xfig fails with "Error: Can't open display: local:0"
If I start another X using '-ac' ( not authinaction) and put to local:1 , all is well.
i try to connect to a specific ip address with ssh i have installed the ssh server and client. i also try it by connecting with localhost without any problem. But i keep taking this message if to try to connect to the ip address. i checked my hosts.allow and hosts.deny files and all are commented in there (i think tha this should not be the problem).
I need to be able to use an rsync command in script that will be run by cron. And it needs to be able to pass a password to rsync so that the remote server it's connecting to will authenticate.
I cannot set up ssh keys between the two servers, it's not an option. I cannot use any other language other than bash, it's my only option. I know this is highly insecure, I have no other option.
So far I have this: rsync --rsh="/usr/bin/ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PreferredAuthentications=password" -raxv /source/dir/* user@remotehost:/target/directory/.
This allows the script to ignore host verification and goes directly to the password prompt. I need the script to fill in this password prompt with the password that is stored in a variable.
I tried using expect, but I honestly don't know the syntax, it just keeps failing. A lot of the examples I'm finding online for expect starts off with a "spawn", which i don't have installed, and not sure if I have the ability to install it yet.
I am using VNC to login to remote machine (vncserver). My question is; How can I login to remote machine (vncserver) through VNC client, without having to login to vncserver first physical. For better explanation here is an example: If john wnat to login to vncserver remotely first he has to login the vncserver physically then he can login remotely.
I have a mate who runs the IT in his office. He has recently set up and secured the network but now has an issue logging in to the network from home. Here is the message I got from him regarding the set up and what he is having specific issues with.
I was really pleased with the results on my Pen Test; the office itself is a pure MS environment but the testers all use Ubuntu 9.10 to hack with. The main tools of choice are Nessus and Ophcrack with a bit of NMap. It's pretty scary what you can do with just these tools. I had a Wireshark trace running all the time and it's fascinating to watch how these guys crack open a system. The only really major change I've had to implement on my network is to force the use of SSL as a transport layer for our remote desktop sessions. This has forced me to start using MS RDP Client 5.2 because it can use certificates on the session. The problem I've got now is that the Terminal Client in Ubuntu can't do this so I can't remote in from home on my Ubuntu laptop.
I did a clean install of the latest version of Ubuntu. For some reason, there are still internet-issues. When I tried out the following command
Code: telnet open ftp.microsoft.com 21 I got Code: telnet: Unable to connect to remote host: Connection timed out
Also, during install of the new ubuntu, it was unable to reach the repos for downloading. Odd thing is that I can go online, and that when I type 'ftp.microsoft.com' in my browser, it displays the file-hierarchy.
I have succeeded in using Remote Desktop Viewer to make a VNC connection to a remote WAN computer and it was quick enough to manipulate the remote computer in real time.I found the host name by getting the remote target computer to put the following url into a browser - http://www.showmyip.com/ - It returned the address for the router which I put into the Host: text entry box in the Remote Desktop Viewer window. E.g. for my computer at the time of submitting my enquiry the address was 'host81-129-54-226.range81-129.btcentralplus.com'.The remote router that I connected to needed to have the port 5900 forwarded to the remote target computer.I now want to progress to running VNC through a SSH tunnel for additional security. In the Remote Desktop Viewer there is a configuration line
'use host' <text box to enter host name> 'as a SSH tunnel'.What is the correct syntax to enter in the text box? It would help my understanding if you used the example address above as a basis for a response.Many unexpected connection attempts reported on my router, if that was you, thank you for the novel way in responding to the question and providing the syntax.The 'bible' on syntax appears to be found here:- http://unixhelp.ed.ac.uk/CGI/man-cgi?ssh+1
I am running CentOS 5.1 on VMware on Win 7 On CentOS I added Bridged network adapter and the server is connected to internet without any problems, but when I telnet any server on port 25 I get connection timeout.
Code:
telnet f.mx.mail.yahoo.com 25 Trying 98.137.54.237... telnet: connect to address 98.137.54.237: Connection timed out telnet: Unable to connect to remote host: Connection timed out
I stopped all servers, iptables and sendmail on the linux server and the firewalls on the win 7 but still getting the same error! I added new network adapter ( host-only ) and tried to telnet the win machine from vmware Linux but I got connection refused
Code:
telnet 192.168.71.1 25 Trying 192.168.71.1... telnet: connect to address 192.168.71.1: Connection refused telnet: Unable to connect to remote host: Connection refused
Is there any one know how to deploy a remote OS installation for a host with public network address? In a LAN with private network, we can use PXE, kickstart... but what we could do with the hosts have only public ip address?
is it possible using a perl script to test for a socket listening on a UDP port on a remote host ?I work in an environment where netcat is not allowed and from time to time I need to see if a UDP port is open on a remote host.
My SSH client for remote machine will sometimes hang. I have to wait until the session is finished hanging, I guess, to login with SSH again. I would get some message about multiple users or something.
I haven't been able to login this time for over 1 day. It's started saying something about Tcl_InitNotifier: unable to start notifier thread. My host can access the machine locally to fix this, but what is going on? Why is this occurring?
Is there a good terminal services client available I can connect to my Windows boxes from Fedora12? I am willing to pay for a commercial license if there is a good one
I'm trying to connect with my server via telnet, but when i sent the command (telnet xxx.xxx.xxx.xxx Port) doesn't works and shows then follow error: Unable to connect to remote host: Connection refused, It happens with any port. Is strange but my telnet services works (telnet xxx.xxx.xxx.xxx), In addition, i tried with firewall enabled and disabled and the problem still happens. My centOS run on virtualbox.
I am at a loss. I can not access my work remote desktop via the terminal server client on my wired box running Ubuntu 10.10. My wireless laptop is able to connect right away once I established the VPN connection. The VPN connection is established on both boxes with no problems.
When I tried the Terminal Server Client on my wired boxed, it says it can not establish a connection. Yet my wireless box gets connected immediately!
I check the /etc/dhcp3/dhclient.conf and the /etc/resolv.conf to see if there were any differences, but they are essentially the same. When I have the vpnc connection, they both recognize it and I am able to ping the IP address shown when I do a "ifconfig" on the terminal.
What can be the problem? Anything I need to configure on a wired computer versus a wireless one? What else can I check?
I am working behind a http proxy (172.30.x.x:3128). I have configured it in my terminal. All the applications such as wget,lynx firefox etc. are working correctly.However all dns utilities like nslookup, host and even ping too are not working.Following is output of host command:
Code: root@ding:~# host google.com ;; connection timed out; no servers could be reached Output of host -T:
[Code]....
To connect to net I have to first run dhclient3(learnt from this forum!).It gives me my ip but where is dns address sent I don't have and idea.
Our company uses a customized vpnc (based on and almost the same as vpnc 0.5.3). I first tested it on a Windows host under Virtualbox everything works straight away. But when I want to use it on a Linux host directly it always ends in "No response from target". I have tested this on Fedora 12 and the latest Ubuntu. I thought of firewall settings but iptables -L on Ubuntu returns an empty list even.
I have a Laptop with Ubuntu 10.04 and a Netbook with Remix 10.04. I'm trying to connect by Remote Desktop from the Laptop to the Netbook. Remote Desktop wasn't installed by default in Remix so I installed it via software centre. I then configured Remote desktop in both machines. When I do Connect on the laptop all I get is a black screen and then it closes with the message "Connection to host was Closed". This happens when I try either VNC or SSH. The other thing that's odd, although both machines are on the same WLAN and I checked "configure networkautomatically to accept connections" on both machines, the Laptop doesn't find the other machine in Remote Desktop. What am I/have I done wrong or have I ommitted something?
When i am trying to access the any directory other on port *80, its not being accessible from the static ip which is routed through a DMZ server. http://122.165.35.9:8085 something like this returns the error "could not connect to web browser"
I have a sendmail daemon running on Linux, I can telnet @ port 25 from local shell, however if I telnet from a remote system @ port 25, it doesn't work. There is no firewall in between.
I have a remote desktop app for my ipod that i use every now and then, but after about a week and a half of not using remote desktop on either my ipod or my computer, it seems to have stopped working. the problem is with my computer rather than my ipod. when i go to menu>system>preferences>remote desktop, the area where it is supposed to give you the ip address, or whatever it is to connect remotely, is no longer a number, but just the word "localhost". i only saw this after my ipod told me it could not find the host, so i checked and thats when i saw localhost. putting that into the remote desktop app did nothing, so i tried my ip address and that didnt work either. clicking on "localhost" brings up evolution mail which wants me to send it as an email, strangely. not sure whats going on here.