Ubuntu :: SSH Only Working On Port 22?

Jan 21, 2009

I would like to run ssh server on a port other than 22. SSH works fine both inside and outside (using port forwarding). HOWEVER, if I go to ssh_confing and change the port to port xxxx following the guidelines here: [URL] (adding 'Port xxx") to the ssh_config file.

I get the following message when I type "ssh localhost":

ssh: connect to host localhost port xxxx: Connection refused

I also issued a "ufw allow xxxx", and it did update the table... but I still cannot connect on the specified port. I am running this on Ubunto Server 8.10, and there is no firewall set up. I have tried various ports, and I did restart the server after each change to ssh_config. If I must, I will run on port 22, but I prefer a wee bit more security. do not respond with router issue, this is not connecting through the router at all. I am just trying to connect from the local machine (localhost).

In Summary:

ssh localhost (works on port 22)
ssh localhost (does not work on any other port other than 22... connection refused).

View 1 Replies


ADVERTISEMENT

Fedora Networking :: Port Redirect, I.e. Whatever Comes Through Whatever Interface On Port AAAA Will Get Redirected To Port BBBB?

Feb 18, 2010

I want to do a simple port redirect, i.e. whatever comes trough whatever interface on port AAAA will get redirected to port BBBBI thought that iptables -t nat -I PREROUTING --source 0/0 --destination 0/0 -p tcp --dport AAAA -j REDIRECT --to-ports BBBBhowever it doesn't work, e.g. nc -v -w2 -z localhost AAAA gives:

nc: connect to localhost port AAAA (tcp) failed: Connection refused
while
nc -v -w2 -z localhost BBBB

[code]....

View 10 Replies View Related

Ubuntu :: DVI Port Not Working On Computer?

Nov 26, 2009

I managed to get the VGA port working ok, but for some reason the DVI port doesn't want to work. I downloaded new drivers for my graphics card, and although it helped fix a few glitches in the system It didn't fix the DVI problem. I am currently running Ubuntu 9.10 and have a Samsung 2443bw monitor with a 1920:1200 aspect ratio.

View 7 Replies View Related

Ubuntu Servers :: Apache Only Working With Port 80?

Jan 20, 2010

I have a virtual server setup on port 80 that works fine, however, if I change the port to, say, 8080 the browser then fails to connect.I'm using webmin to configure everything, all the other settings seem to work as I would expect.I get the error "Safari canī open the page http://192.168.0.12:8080 because Safari cant connect to the server 192.168.0.1." in safari, and i get something similar on the xubuntu machine in firefox connecting via localhost.It's almost as though theres a firewall in the way, but I think it's more likely to be some config problem.

View 2 Replies View Related

Ubuntu Multimedia :: Headphone Port Not Working?

Apr 18, 2011

After installing ubuntu 10.10 on my toshiba satellite L655D-S5050 I noticed the headphone port does not work, I've tried a number ways to get it working but they have all proved fruitless, also my built-in microphone does not work.

View 3 Replies View Related

Ubuntu :: Port Forwarding Using Iptables Not Working?

Jul 17, 2009

I am using ubuntu 8.40 as a router wit 2 nic.eth0 is for local and eth1 is for external network.i have a internal webserver in my lan and want to forward some ports to the net and i executed te following commands.

iptables -t nat -A PREROUTING -p tcp -i eth1 -d 192.168.0.239 --dport 8080 -j DNAT --to 192.168.10.99:8080
iptables -A FORWARD -p tcp -i eth1 -d 192.168.10.99 --dport 8080 -j ACCEPT

But i cant connect to the port 8080 from the external network.

View 11 Replies View Related

Server :: Postfix Port - Send Message Via Port 587 Not Port 25

May 2, 2010

I have a mail server i need it to send message via port 587 not port 25, i make some changes to my postfix server which i use and it is already successed making a telnet to 587 port like it :

[Code]....

View 3 Replies View Related

Ubuntu Servers :: Apache Not Working On Alternate Port?

May 31, 2010

I have tried setting apache up on port 8000, because my ISP blocks port 80.

When I try to listen on just port 8000, I can never connect, internally or externally. When I try to listen on both 8000 and 80, my internal computers will drop the 8000 from the url and connect on 80, and external computers try to do the same thing, but can't get through on port 80.

I know my router is set up correctly, I have 80, 8000, and 8888 all being forwarded, I have confirmed with [URL] that 80 is blocked, but 8000 and 8888 are open. I am able to connect to gnump3d through port 8888 internally and externally, but not apache2 on port 8000.

netstat -tnap confirms that apache is running and listening on ports 80 and 8000 to all users.

View 9 Replies View Related

Ubuntu :: How To Get Startech Pcmcia Parallel Port Working

Jan 29, 2011

I am trying to get a startech pcmcia parallel port working on my laptop and I just can't seem to get it going. here is my lcpci -v info on the card.

Code:
07:00.0 Serial controller: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 0 (Disabled) (rev 01) (prog-if 06)
Subsystem: Oxford Semiconductor Ltd Device 0000
Flags: medium devsel, IRQ 20
I/O ports at 4020 [size=8]
I/O ports at 4028 [size=8]
I/O ports at 4030 [size=8]
I/O ports at 4038 [size=8]
I/O ports at 4000 [size=32]
Memory at 2c000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: serial

07:00.1 Non-VGA unclassified device: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 1 (parallel port) (rev 01)
Subsystem: Oxford Semiconductor Ltd Device 0000
Flags: medium devsel, IRQ 20
I/O ports at <unassigned> [disabled]
I/O ports at <unassigned> [disabled]
I/O ports at <unassigned> [disabled]
Capabilities: <access denied>
Kernel modules: parport_pc

I do not know why it is not assigning it an io address. I should also add that the parallel port is enable in the bios with the default address of 0x0378. I have also tried modprobe parport parport_pc and parport_cs and ppdev, still nothing.

View 1 Replies View Related

Ubuntu Networking :: Usb Broadband Not Working (Ethernet Port Not Available)

Apr 20, 2011

I am using ubuntu 9 but unable to connect to internet via my usb Siemens c110 modem. I have a dual boot system of both windows7 and ubuntu9. I am using the same modem in windows7 and have installed virtualbox where i have installed the same ubuntu9 but there it automatically detects the wired connection(usb)[eth0] but in the actual boot it doesnt detect anything. I have typed in the terminal sudo ppconfig but it was unable to find anything.

View 1 Replies View Related

OpenSUSE Hardware :: USB Port Not Working?

Apr 15, 2010

I am facing a strange problem of not functional USB Port under OpenSUSE 11.2. The USB worked perfectly fine till yesterday. I Plugged in my USB flash drive and pulled it out without performing a formal eject.Since then, it seems that USB ports are not working as I had to change to PS2 Mouse and no USB device is detected by the operating system

View 2 Replies View Related

Server :: Telnet To Port 25 Not Working From Outside?

Mar 25, 2011

I'm trying to test smtp connectivity to my postfix configuration and I can telnet to port 25 from the computer itself but cannot from the outside. I get a connection refused error message. What am I doing wrong? I believe my dns is setup correctly as it seems the telnet can hit the box so I'm fairly sure its not that.

View 14 Replies View Related

Fedora Networking :: Port Forwarding Not Working?

Apr 23, 2009

I am running Fedora Core 10 and KDE 4.2.1. My KTorrent is having trouble finding online peers lately. I suspect this is a port forwarding issue. I have set up my router to forward port 4444 (UDP) and port 56000 and more (TCP) to my machine's IP address. I have also set my local firewall (system-config-firewall) to allow these ports through.But when I try to test ports 4444 and 56000 via this Open Port Check Tool, it tells me they are closed

View 6 Replies View Related

General :: HTTPS Not Working On Custom Port?

Aug 19, 2011

I am doing this as a test for bigger deployment. I have Apache running on CentOS5 in a clean VM (just a few tools installed, PHP and such).If mod_ssl is set to listen on 443 in /etc/httpd/conf.d/ssl.conf the the site at https://192.168.1.137 loads just fine.If I change the listen port to eg. 9443 in ssl.conf and reload httpd the page wont load athttps://192.168.1.137:9443 - I set the eth0 to be trusted and disabled SElinux in case that was interfering but still no luck.

View 1 Replies View Related

Debian :: Working On The Port Of JooJoo OS For O2 Joggler?

Sep 12, 2010

I am trying to port JooJoo OS to O2 Joggler.'til now I have done the following things.1. formatted a usb pen drive in two partitions: one 100 mb for the efi and one for the JooJoo OS.IMPORTANT: make sure you do all the work of the steps 3 and 4 with the cp and tar terminal commands! normal gui operations doesn't work well.2. got the JooJoo OS version 0.1.5 from the JooJoo Unofficial Forum and extracted it on the JooJoo OS partition:3. got the file named efi.tar.gz from jogglerwiki.info and placed on the efi partition: UGGESTION: attach an usb hub to the joggler, you will probably need to hit control need sometime in the boot.4. After I hit ctrl+D because the filesystem check failed the boot continued but the it hangs at: Code: modprobe: FATAL: Could not load /lib/modules/2.6.33.2/modules/modules.dep: no such file or directorygiving up.xinit: No such file or directory (errno 2): unable to connect to X serverxinit: No such process (errno 3): Server error

View 1 Replies View Related

Red Hat / Fedora :: Onboard Network Port Not Working?

Feb 7, 2011

Im using RHEL 4.2, here in bios level onboard network port is detecting. But when trying to fetch that network port i cant able to connect internet. when i put ifconfig eth1 the port is not available in onboard.

View 8 Replies View Related

Networking :: Iptables Port Forwarding Not Working?

Jan 28, 2011

I've used iptables since it replace ipchains, and I've never had a problem like this.The problem is, as you can see by the title, that port forwarding simply does not work.

network topology:
Slackware Linux Server:
eth0 - LAN (192.168.0.0/25)
eth1 - DSL Static IP
eth2 - cable Static IP

eth1 is our standard office connection; it handles all of our default traffic (web browsing for the staff, email, etc). eth2 is our VPN connection, as well as use for all incoming connections (www, etc). Behind the linux box I have a series of Windows Server 2008 R2 boxes that are used to run our office software, website, etc - I don't care how nice they make their products these days, I simply don't trust any MS box open to the net.
Therefore, this leaves me with having to port forward port 80 from eth2 to the internal IP address of the web server.

My ruleset is as follows:

$WWW - ip address of the web server
iptables -A FORWARD -d $WWW -p tcp --dport 80 -j ACCEPT
iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 80 -j DNAT --to $WWW

Running ip route shows that I have routing entries for all 3 networks, and I can ping, ssh, etc to any of the addresses without issue. OpenVPN connects across eth2 as well, and all 15 of my VPN tunnels work fine. However - and here's the kicker - if I delete the default route and replace it with the route for eth2, port forwarding works fine.

If we accept that my networks are as follows:

192.168.0.0/25 - eth0 net, gw .1
1.1.1.0/29 - eth1 net, gw .1, eth1 ip .2
2.2.2.0/30 - eth2 net, gw .1, eth2 ip .2

then ip route reveals the following:

2.2.2.0 via 2.2.2.1 dev eth2
2.2.2.0 dev eth2 scope link src 2.2.2.2
1.1.1.0 dev eth1 scope link src 1.1.1.2

[code]....

View 7 Replies View Related

Server :: Iptables Port Forwarding Not Working?

Mar 26, 2010

I have the following setup and Im trying to forward all incoming connection on port 1194 on eth2 which is the external network to ip 192.168.10.100, but seems its not working.

Current config:

# Generated by iptables-save v1.3.8 on Sun Nov 16 00:00:54 2008
*nat
:PREROUTING ACCEPT [26751696:2175544875]
:POSTROUTING ACCEPT [339911:19096812]

[code]....

plus im adding the prerouting:

iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 1194 -j DNAT --to-destination 192.168.10.100

This configuration doesnt work. I also I have tried:

iptables -D PREROUTING -t nat -p tcp -d XX.XX.XX.XX --dport 1194 -m state --state NEW,ESTABLISHED,RELATED -j DNAT --to 192.168.10.100:1194

and the same its not working. Connecting thru telnet to the domain: telnet mydomain.org 1194 doesnt work, but within the server, running telnet 192.168.10.100 1194 it works.

View 8 Replies View Related

Software :: RHEL 5.3 Serial Port Not Working?

Mar 8, 2010

I have RHEL 5.3 installed on HP ProLiant DL320 Generation 5 but i cant get serial port workingdmesg | grep ttyserial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

setserial -g /dev/ttyS[0123]
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3

[code]...

View 8 Replies View Related

CentOS 5 Networking :: 2nd NIC Port Seems Not Working Independently Without 1st NIC?

Jun 25, 2009

Would like to seek your support and idea about the having 2 IP addresses bind to my server.I am using a Dell Server coming with 2 Gigabit Ethernet ports -- eth0 and eth1.After CentOS 5.4 installation, if we assign 2 IP addresses 192.168.1.1 and 192.168.1.2(both in the same subnet - 255.255.255.0) to the 2 NIC. The default gateway is 192.168.1.254.We found the following phenomenon:1. If we unplug the cable connecting eth0, eth1 will be disconnected as well.2. The connection to the server, like SSH, FTP, experience frequently disconnection.My questions:1. If we want to connect both cables to the 2 ports, how can we make them independent and actas normal? That means both ports are functioning independently.2. Is the any build in function in CentOS that can bind 2 NIC as 1?

View 2 Replies View Related

Fedora Hardware :: Deskjet Plus On Parallel Port Working With F13?

Aug 19, 2010

I have an old, but still usable, HP Deskjet Plus inkjet printer that I have connected to the parallel port of my Fedora 13 box. I can (apparently) configure the printer using the usual print configuration tools, and have selected the recommend foomatic driver (HP DeskJet Plus Foomatic/pcl3 (recommended)) - but when I try to print the test page the job gets queued and nothing else happens. The jobs simply show as pending in the printer queue.

Current uri is parallel:/dev/lp0.

As a side note, my Epson printer on the USB port works fine, but it's using CUPS + Gutenprint v5.2.6 Simplified. Should I be trying something with a different (e.g. CUPS) driver, or a different way of specifying the foomatic driver, or what?

View 3 Replies View Related

Fedora :: Change The MOBO And Trying To Get The Serial Port Working?

Apr 20, 2011

I've just had to change the MOBO and trying to get the serial port working, I see from previous posts there are some problems lurking in the past.

setserial -g /dev/ttyS*
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3

but I'm not seeing anything from a GPS receiver in NMEA at 4800 no par 1 stp I know that was working about a year ago. I think udev was not helping ,as I was getting permission denied to the com port, I added myself to group dialout. and no message on startup now

I need to be able to talk to a piece of kit with 9600 baud and nothing. I have win32 s/w to drive it , but it falls over in wine. My laptop still has win7 on it in a tiny partition but no 9w d connector and I'm waiting for a USB converter cable. Too many variables ! I'd forgotten all the hassle of having to install drivers just to get basic things running. But as the stupid thing couldn't manage using the driver for my NIC, I was stuck with hyper-terminal, and nothing from the GPS board @4800 or another piece of equipment running at 9600. I suspect the com port on the new mobo doesn't wan to play

View 2 Replies View Related

Networking :: IPTables Port Forwarding Using Prerouting Not Working?

Feb 18, 2010

I was trying to setup port forwarding on my setup. My network consists of:

Code:

[Server: xxx.xxx.xxx.15]
|
|
[ switch ]

[code]....

I ran the following 2 commands:

# iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j DNAT --to-destination xxx.xxx.xxx.15:80
# iptables -A INPUT -i eth1 -p tcp -m tcp --dport 80 -j ACCEPT

Yet I am unable to connect. Are these the correct commands? I am using IP Masquedering on the same box using the following commands:

Code:

$IPTABLES -P INPUT ACCEPT
$IPTABLES -F INPUT
$IPTABLES -P OUTPUT ACCEPT

[code]....

I don't think there is a hidden firewall in the switch but if these commands are correct, then I may need to contact my ISP and see if they are blocking the commands. I just wanted to make sure I was not doing some stupid mistake before I try to contact my ISP.

EDIT: Also, is it possible to forward Port 80 requests to different servers depending on the hostname used to connect, so say [URL] redirects to server xxx.xxx.xxx.15 while hhh.com redirects to xxx.xxx.xxx.16?

View 3 Replies View Related

General :: Parallel Port Communication With RHEL6 Not Working?

Dec 13, 2010

I was trying out the parallel port communication on RHEL 6 but found it not working:
#echo hello > /dev/parport0
write error :Invalid argument".
#ll > "/dev/lp0"
/dev/lp0:No such device or address

View 2 Replies View Related

Software :: USB Stops Serial Port From Working Correctly?

May 13, 2010

I am using linux 2.6.20 from ltib-mpc8313erdb-20070824 on my development board having MPC8313 powerpc processor. Whenever I plug-in the USB device, the serial port starts mal-functioning. It does not receive all the packets.

View 1 Replies View Related

OpenSUSE Network :: Port Forwarding Not Working - Tests Using Netcat

May 17, 2011

I have two SUSE(2.6) virtual machines running in the same subnet with two network cards each as shown below.

VM1------------------------------------------------------------------------------
appstage1:~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:22:5A:24
inet addr:192.168.128.12 Bcast:192.168.128.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe22:5a24/64 Scope:Link

[Code]....

Ultimately my DB will run in VM2 and any DB requests coming in at 2055 of VM1 should be forwarded to port 2055 of VM2. Since I do not yet have a DB running I am trying to test with netcat.

View 5 Replies View Related

Debian :: Internet Has Stopped Working \ Broke When Tried To Allow Port Forwarding For Torrents?

May 7, 2011

I've had Debian on my laptop for around 4 months which I rarely use. I'm using Squeeze since it seems to be the only release that will work with my ethernet card.The internet had been working fine for a couple of months but broke when I tried to allow port forwarding for torrents. I could only connect to the internet after this by using:

iptables -F
iptables -X
iptables -t nat -F

[code]....

View 2 Replies View Related

Ubuntu Security :: SSH Port Forwarding, Disable Or Edit A Forwarded Port?

Nov 1, 2010

sudo ssh -L 750:192.168.123.103:873 username@192.168.123.103It does exactly what it's supposed to do, but how do i edit / remove this rule?Is there some config file where i can alter the forwarding? How does it get stored?Im using Ubuntu 10.10Server Edition (allthough i recon it would be pretty much the same across all versions

View 5 Replies View Related

Ubuntu :: Port Forwarding Crutch - Number Of Apps That Are Unable To Have The Outgoing Port Changed ?

Mar 28, 2010

I'm not that great with mailservers, and just been thrown a curveball with a MS Exchange environment for which there is apparently no solution... yeah, right. But is there a workaround?

The problem is that the site mail (SMTP) needs to be sent via port 26 instead of the commonly used 25. Port 25 is mapped to a mailfilter, which apparently causes havoc with some of the mail, and the techs that have been on site trying to coax the Exchange server to co-operate have said that the only way would be to get rid of the filter.

The problem is that there are number of apps that are unable to have the outgoing port changed and so keep sending mail out on port 25.

I look after the Unix/Linux side of things at work, and I was wondering if there was an easy way to set up a Ubuntu box to receive mail on port 25 and just forward it to the MS box on port 26? So, in other words (and I hope this makes sense): monitor port 25, and forward whatever comes in on port 25 to the server on port 26. Simple portforwarding, or is it? What steps do I need to take?

View 2 Replies View Related

Ubuntu Networking :: Error - Remote Port Forwarding Failed For Listen Port 5500

Aug 7, 2010

When I use the following command:

ssh user@ssh_server -L 5500:localhost:5500 -p 22

everything works fine. I can log in, and local port forwarding is done. Otherwise when I use the command:

ssh user@ssh_server -R 5500:localhost:5500 -p 22

I get an error "remote port forwarding failed for listen port 5500". However when I try remote port forwarding in WinXP by use of putty there is no problem...

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved