Ubuntu Networking :: SSH And FTP "connection Refused" Check Point Router?
Jan 8, 2010
I have a new server running on xubuntu 9.10 behind a "Check Point Safe @ Office security appliance" (a LAN switch with an obnoxious firewall), and cannot make ssh, ftp, telnet, or vnc connections to it from outside the network. All I get are "connection refused" errors. I've made sure sshd, x11vnc, and proFTPd are running when I test the connections, and that ufw (firewall) has all of their default ports completely unrestricted. I've set a rule on the router to allow and forward all connections and all ports to the server, and I've also also put it on the exposed machines list, which reads like it should provide full access to any incoming connection. I still can't make connections to it, and it's driving me nuts. Does anyone have suggestions (or requests for more information)?
(ps- The router isn't really a choice: even if I bought another, I'd have to hide it and hope no one notices the policy breach)
I am trying to monitorize an OpenWRT (Backfire 10.03, r23115) router from an Ubuntu server, but I am having some problems. I have installed Nrpe (2.12) on the remote host (OpenWRT), I have executed the program as a deamon (/usr/sbin/nrpe -d) but when I start the NRPE deamon, I don't get anything about NRPE executing netstat -at or ps -ef.I would need to install check_nrpe on OpenWRT to find out if NRPE is working, but I can't find any ipk package with it. Now, once in the monitoring host when I try to reach the remote host from the server:
I recently installed the pptpd server on my system and set it up according to these instructions:HTML Code[URL]t=132029However after setting everything up on attempting to connect to it from a windows machine (windows 7 home premium to be specific) it gives me two errors which are 720 and 800...It reaches "registering your computer on the network" fine and then gives 720 on the first attempt to connect and then 800 on the second attempt to connect...and then on the third 720 and 4th 800 and so on..My system running the server's I.P is 192.168.1.70My system running the windows OS trying to connects I.P is: 192.168.1.66
I'm trying to create a PAN (Personal Area Network) using a laptop (Siragon ML-1040) and my desktop computer, but I get the Connection Refused (111) error.
Blueman doesn't detect any network service between the two computers unless I start PAND on one of them and then it detects the NAP service. That, only after I enable the NAP/Workgroup services on the Services submenu in Blueman. However, it doesn't work neither with the NM plugins or without them (dhclient and that other one I can't remember the name of).
Any clues over here? I'm using pand 4.91 and blueman.
I have a wireless network in my house through a Zyxel P-320W router, and I've noticing that the signal strength isn't very good in the basement. Now I have this old D-Link-624+ router lying around for a long time and I've been hoping to get it to work as an access point, that way I can move freely around the house without changing which router I'm connected to.
I'm sure that some of us techies have found the need from time to time to have a portable wireless bridge (see ascii art below) on our jaunts into the big bad user-woods, and I am here to ask the question of HOW to pull this off, with the least installation/configuration possible, as my tech lappy is also my main computer. What I want to do is this:
Code: (ISP) -> (wlan0 - [MyLappy] - eth0) -> (Client computer) Basically, thats a mess, so i'll explain it further: wlan0 grabs the netz, and a computer connected to eth0 via switch/router/crossover cable can access those netz.
1. No configuration on the client would be prime choice rib for me.
2. Client should be any OS/Arch.
Any grand ideas out there? Currently using FC10, with various extra repos enabled.
Oh, and N00by alert, I'm learning quick, and am not shy to try new/complicated things, just bear with me!
i have a router, i use it to connect my LAN to internet. Now, my LAN only coneck via cable, i want to try make my router to be a Acces point to routes the LAN whitch use Wireless.
Does anyone have experience with the D-LINK DIR-655 gateway OR router OR wireless access point? On the surface, I like this box, but it is giving me grief. First, it wants me to use a win-dose CD configurator application. I use the embedded web page configurator. Next, there are several configuration wizards at the embedded web page. After trying the wizards, I went to the manual screens to tinker to get something working.
So what is going on? When a LAN client connects, I want DHCP to present at least two "nameserver" values ... which then make their way into /etc/resolv.conf The DIR-655 plays some nameserver games like caching and blacklisting and other things. However, I get some ad-vert page from "dnssearch" or "yahoo" or similar when names don't resolve. I really don't want this behavior. Network-manager does not report the connection down, however streaming anything stops or "reconnects", browsing times out, LAN side traffic seems to stop as well.
I need to browse the net more securely and bypass throttling by an infrastructure-dictator by creating a SSH Tunnel directly to my internet service provider and use it as proxy.
I tried both a dynamic and local tunnel, was a able to connect to the server and log-in just fine, but when I tried to surf I get a 'Connection refused' error.
Here's what I tried:
Code: ssh -D 8022 user@tunnel.host -N ssh -L 8022:tunnel.host:8080 user@tunnel.host -N (not at the same time of course)
Then I set 127.0.0.1:8022 as proxy in browser settings. As long as the tunnel is open the browser displays a blank page with no error when I try to open a remote web page, while the terminal gives me a 'Connection refused' error.
I'm using OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007 on Xubuntu Hardy.
In case anybody is wondering this is perfectly legitimate. The tunnel.host I connect to is a server set-up by my ISP specifically for this purpose.
Either of the examples above should work as others who have the same ISP reported that it works. Therefore, I suspect this is an issue with my own security settings which are slightly on the paranoid side but I can't figure out what. Stopping ufw and explicitly opening port 8022 didn't help.
I'm trying to establish a connection between two laptops using sftp but am getting the following error message:
Connecting to <IP>... ssh: connect to host <IP> port 22: Connection refused Couldn't read packet: Connection reset by peer
ftp isn't working either. Both machines are running Ubuntu and connect to the internet through the same wifi router in case that's relevant. What could be the problem?
I cant connect with ssh to my workstation using my notebooks wireless lan. with cable I'm able to connect.so the funny thing is, if I first establish a connection from my workstation to my notebook (like ssh it or just ping the notebook) I'm able to create a ssh connection from my laptop to the workstation using wireless lan.scanning my workstation from the wireless lan of my notebook with
Code: nmap -sT -p 22 ventury says port 22 is closed
scanning it from the notebook with cable lan,it says port 22 is opened
scanning it from the wireless lan of my notebook an have sent a ping from the workstation before says port 22 is opened.ution.
I got a 64bit version of Kubuntu 10.04, up to date, installed on both, my workstation(ventury) and my notebook (defiant).the question is: Do I always have to ping my notebook first if I want to ssh from it to my workstation or is there some other solution? And why does it work fine with cable, but not with WiFi?
having a port 22:connection refused problem with SSH. None of what I have read has been what I have been experiencing, so I figured I would post here. The worst that could happen is this gets completely ignored, or I am told that there is already a solution, that I missed it, and directed to it. Here is my problem:
Just learned how to ssh into my machine a few days ago. Everything has been running smoothly until I ran into a little problem: all of a sudden I can't connect anymore. I have sshd-server installed and updated. I have sshd turned on
Code: /sbin/service sshd start And I even ran:
Code: /etc/init.d/sshd start Because I was told that it would start ssh from boot. Nothing has changed from today and yesterday and I haven't been having problems with port 22 being blocked.
I have also tried to ssh into the machine by the machine itself:
The garage in my house is a dead spot for my current wifi router.I can't get a signal there.Moving my router within the limits of my cabling doesn't fix it. But I have two other routers I'm no longer using.Is it possible to use one of them as a wireless access point to extend the range of my current router?If so, what is the general procedure for doing that? My main router is a Verizon Actiontec M424WR. My other unused routers are a D-Link and a Netgear, both of which have wireless capability. The Netgear had a superior range, as I recall.
I get a connection refused error whenever I attempt to connect to a remote ssh server, I tried the test at and it says outbound ssh port 22 is not being blocked. I'm wondering what else could be the problem.
I forwarded ports 28900(TCP/UDP) and 5029(UDP) to my linux box for a game. Testing my ports with a website now shows these ports as "connection refused" rather than "timeout" which means the connections are getting to my system but the iptables are blocking them. But I added 28900 as a test and it still won't accept anything on this port. This is my output of iptables -L
I've just installed CentOS 5.3 on a Shuttle PC with an Atheros AR5001X+ Wireless card, and although the card is properly recognised and correctly identified by the OS, there seems to be a point blank refusal to pick up a signal from my network router, which is a Be*Box branded Thomson 585v7. I've previously successfully managed to get this PC and wi-fi card to pick up the signal from that router under other OSes including Kubuntu, openSUSE, Windows XP Pro and Windows 7 RC, but no luck with CentOS 5.3.
Clicking on Scan for Networks... in KWiFiManager doesn't even bother to scan for a network signal. From the very split second I take my finger of the mouse button, it instantly displays a dialog box which tells me . . . "The scan is complete, but no networks have been found."
How on earth can it actually find a network signal, when it doesn't even bother looking for any?! Wireless access is the only way I can get that machine online. A wired connection is not a realistic option, since the ADSL modem/router is in a front room downstairs, and all my PC's are in a back room upstairs, and would require about 10-20 meters of RJ45 ethernet cable and a lot of unnecessary extra work. The PC I'm currently typing this message on (running W7RC) is picking up the wi-fi signal with no problem.
i m using RHEL5 on my server machine and open suse 10 on my client machine.both system ping each other, firewall is off of my server machine,i put a file from my client to my server machine using scp command but ftp command is not working when i want to open connection i receive a message "connection refused".what can be the issue?
Can you find my blind spot? I had PuTTY up & running untill I did a reinstall of Fedora13.I can ping 192.168.1.163 fine. SELinux is disabled. Firewall is default (SSH allowed on p22).I have just disabled the firewall with same result)
PuTTY reports: =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.07.20 16:23:52 =~=~=~=~=~=~=~=~=~=~=~= Event Log: Writing new session log (SSH raw data mode) to file: C:UserswimDesktopputty.log
I am facing connection refused error 111 in TCP client server program, in android native code which in C , but if code is in JAVA it works fine, but i want to continue in C only, in manifest file i have given permission and ip, port is correct .What am doing wrong?? or is their any network setting?? am using UBUNTU 10.04and If both client server Linux pc it works fine. only if android emulator becomes client then am getting connection refused
I researched a long while and could not find an answer to these problems, so here I am. I have a debian server running on my home network. I have it running LAMP and it has a live website.
I have samba running and share files with my windows 7 machine, so they do connect.
When i try to use putty it always refuses the connection.SQLyog tells me off too, but it only cays it cannot connect.
I was checking into SSH, since that is how they are both trying to connect, but I can not find adequate info online for my problem.
I have debian lenny running, I was pretty sure it has ssh running, but i couldnt locate 'sshd'
Is SSH on there by a different name or do I need to install the service.
(ps - getting samba running was a nightmare, but i think it was windoze fault, i tried setting up the debian machine exactly how the guides said to do, but it never could connect and denied passwords constantly, then the next day after a few windows reboots had happened, all of the sudden it worked. Don't know what the deal was there. Could that be instrumental? Sorry I am a web dev and not a networker so this stuff is not my forte.)
I cannot use GRsync from Ubuntu Desktop to PCLinuxOS laptop.The 2 computers can ping each other. I have disabled both firewalls. My laptop IP address is 192.168.1.11This is the error on Ubuntu Grsync:
ssh: connect to host 192.168.1.11 port 22: Connection refused rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.7] Rsync process exit status: 12
On PCLinuxOS it wont say Ethernet is connected when trying a static address setup.However it does connect to the internet via auto Ethernet setup and a LAN cable. It then says connected. In order to use SSH and GRsync what programs are required? I have these installed on both machines: grsync openssh-client openssh-server
Trying 192.168.100.9... telnet: Unable to connect to remote host: Connection refused
[Code].....
This last one is strange as I the IP looks odd.
What I am doing wrong, and how do I fix it. After much surfing many mosts say that telnet is not used anymore but I want to use it to test my smtp server.
I have installed ubuntu 11.04 and I'm now trying to connect to existing SUSE servers on the LAN. My home directory has a shared NFS mounted home on the SUSE servers while my home on the ubuntu machine is local. I can log in using ssh to all the SUSE servers except one. I get:
ssh: connect to host srv3 port 22: Connection refused
If I use the IP address of srv3 directly it works. Also, before I changed the default machine name ("ubuntu") I could log into srv3.
nslookup srv3 works OK. ping srv3 works OK.
Even if I completely delete the .ssh directory in both my ubuntu home and in my shared home on the SUSE servers I still cannot log in using the srv3 name, only direct IP address works. I'm thinking that the login I did to srv3 before I changed the machine name for the ububtu machine must have goofed up something
i done desktop config in ubuntu server 11.04 and connected via tightvnc,uvnc and in remote desktop viewer from another ubuntu machine also. I am not able to access(connect) the server in GUI mode(when monitor is removed) but i putty is working fine in cmd line.
I'm trying to do a SSH connection between my home and work PC both machines are running ubuntu 10.04. I have read all the comunity documentation at [URL] from Work PC. I went on to the web site what is my ip address and noted down the number, From Home i opened a terminal and typed: pnig (ip address). to which their was no reply, now i'm assuming i need to configure the works router to except connection requests, is this Correct?
Also what information do i need from my works network and how do i get it? I understand that I need the routers expernal ip address, but how do i referiance a specified computer after that address? What program do i use in ubunu and how is that information applied to it?
I have my desktop computer (running F13) configured to accept ssh over port 22 via the firewall configuration tool. If I type ifconfig -a, this computer, which is running on my wireless network, tells me:
However, if I go to my laptop computer (also running F13) and try and ssh into the desktop, i.e. ssh icthy@192.168.1.100, I get this response:
Code:
ssh: connect to host 192.168.1.100 port 22: Connection refused.
I guess I am confused to what is blocking the connection? Is there another means on F13 other than the default Firewall? I haven't really messed with the network at all. For what it's worth, I am hoping to set things up so I can just ssh into the computer name, (ssh icthy@desktop) eventually, but want to start with the IP. So, can anyone offer a hint as to what I can look for that is blocking port 22?
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