Ubuntu :: Get Proftpd To Listen On A Port Other Than 22?
May 23, 2010
I'm running Ubuntu 9.10, and am trying to get proftpd to listen on a port other than 22. I've modified the proftpd.conf file, as well as adding the desired port to my /etc/services file, yet if I try anything other than port 22, the connection is refused.
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...
I make an application on GNU/Linux which listening on a MULTICAST stream, so I open my unconnected socket, bind it on a MULTICAST address and a port, join the multicast group with the "setsockopt (IP_ADD_MEMBERSHIP)", then I receive datagram on my socket.
Now I've two different instances of the same application that run with their own MULTICAST address and port. And what I found strange is that, after a misconfiguration, I switch the ports, for example:
Emitting on 225.0.0.1/23451 and 225.0.0.2/23452 Receiving on 225.0.0.1/23452 and 225.0.0.2/23451
And my receiving part doesn't care about the MULTICAST address, it looks like the socket is listening on the port number only! I mean that the receiver [225.0.0.1/23452] take its datagrams from emitter [225.0.0.2/23452] and vice-versa!
It appears that X Windows under Ubuntu (or Gnome?) is started to listen to a Unix named socket, instead of a TCP port number, for client connections. That's what SSH is forwarding when it does X forwarding. I need to start X applications on a remote machine, and then close the SSH connection. So I need to make the connections directly. This is within a LAN on private IPs, so security is not an issue. I searched on help.ubuntu, but there appears to be no particular document that covers this. Anyone know where this is configured to enable it to listen on a TCP port like the usual 6000?
I just installed KVM on a new system and just found out the hard way that virt-manager cannot be installed on the same machine because of a library conflict, so I will have to manage my VMs from another machine. I will use a SSH tunnel to forward the port, but I don't know what it is. Also, how do I start KVM?
I use Ubuntu 10.10 and setup Proftpd apps which I would like to use to access to my files from outside of my SOHO LAN network. This is work on LAN very well but from outside I get some error msg. However I establish connection with my Ubuntu FTP Server machine but I can't get list of files and folders on server.
I get this error msg: 227 Entering Passive Mode 89,216,116,8 243,96 --> i know what this no means: my Stat IP and the port 500 Illegal Port Command Get Directory FTP Port Command failed
Some Additional Information: On the edge of SOHO LAN i use Cisco router for access to the Internet. NAT is configured, PAT (NAT overload) is configured also. I forward ports which I needed for FTP: 21 and 20, and passive ports 60000 - 60001.
When I use Windows OS and BUlletProof FTP server (port 21 or some custom port i.e. 65021) I only forward that port (21 or custom port i.e. 65021) and everything works great.
I wish to use the VNC server built in to the Ubuntu to easily access it from other computers on my local network. I need to skew the VNC Server port off of the normal 5900 to something else because I am using VNC to access several computers (sometimes simultaneously) so each VNC server needs to be set with a different port #. At this point it is all local subnet connections with no incoming internet access and I am not worried about security.
I would like to listen to a virtual serialport (dev/ttyACM0). I heard you can this with the terminal in Linux. But how? Does anyone know some commands?
I set up a FTP server for a client. Running Ubuntu 10.10 server and proftpd. While setting it up, I was able to log into FTP from filezilla from in my office no problems. Now suddenly I cannot access it from inside, but I can still access it like normal from outside my network.I am getting 500 illegal port command when using activeAnd when I use passive, I get fail to retrieve directory.The server is on a DMZ, so ports should not be a problem, and according to our admin nothing has changed within our firewall
Can't seem to access my squid server on port 80. I have port 80 allowed in the conf for this IP. apache is listening to port 80 but only on the 2nd IP. iptables is allowing through port 80 incoming nmap shows no ports open on 80 though:
Code:
Starting Nmap 5.00 ( http://nmap.org ) at 2009-08-20 11:19 BST NSE: Loaded 0 scripts for scanning. Initiating SYN Stealth Scan at 11:19
I tried searching and tried different things and have failed miserably. What I am trying to accomplish is have postfix listen on port 587. I have read that I should do this using Linux Firewall rules as to not mess with postfix config. Here's what I have in my ip6tables.
Code: iptables -t nat -A PREROUTING -p tcp --dport 587 -j REDIRECT --to-ports 25 However, when I restart ip6tables I get unknown arg --to-ports
How can I set my server to listen at a different port for http access. I would like to use port 8080 (to circumnavigate isp blocks). Also can I do the same thing for sftp connections?
On Fedora 13 is there anywhere else on the system that I have to change to get Apache to Listen to an assigned port, something other than 80. Suppose for instance I wanted Apache to Listen on port 94. I told by the site that their router is forwarding apache to port 94. That doesn't mean I change the Listen in httpd.conf. correct. Apache is still expecting connection on port 80 but in this case 80 then gets forwarded in the router to 94. This is my understanding.
I'm using OpenSuse 11.2 64 bits When I try to listen to music in Grooveshark Grooveshark - Listen to Free Music Online - Internet Radio - Free MP3 Streaming I can listen fine, and it seems to work ok, when suddenly the sound of the website stops to work, my processor gets overload and I've to reopen the site to continue to listen. I get the following message in kernel (I'm no sure if it's related)
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
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 :
I have set up proftpd many times now one Ubuntu 9.10 and never ran into any problems. I decided to go ahead and do a clean install of the new 10.04 and set everything back up (ie ssh ftp apache... ect)I got done with ssh with no problems and started working on getting proftpd up and running just like I've always have. But now every time I try to login it gets to where it should list all the files in my dir and it just times out. If I connect through my network (192.168.1.101) everything works fine so I dont think its my .conf file.ll ports are open that are needed and I even tried opening up the passive ports to see if that would help but it does not.
I want to set up a ftp site for a few buddies to grab some files from me but I have no clue how to install this gadmin-proftpd-0.4.0. It shows a gui so how do I get that I am currently running ubuntu 10.04 w 3gb ram w a amd 9850 2.5ghz cpu on my server.
Im trying to change permissions so i can upload to my proftp server. i can download ok but i want to access most folders via ftp so i can upload to them, at the moment i get permission denied message.
i am using proftpd-mod-sql on ubuntu 10.04lts and i am trying to give the ftp users access to my external usb hdd's because the internal drive is too small. I am using vusers in a sql db. They are associated to the ftpuser and ftpgroup. My drives are mounted to /media/... and belong to my user and group. The rights are set to 0700. So my ftp users have no access to it and i cannot change it. I could change the vusers uid/guid to my username but i think, that is not a good solution. I would like to have access to the usb drives with the ftp users and with my ordinary username (for xbmc and samba access).
I'm running Ubuntu 10.4 Lucid Lynx and I am setting up gadmin-Proftpd and when I try and activate it. I get the following message and am really unsure where to go from here:
- notice: unable to bind to Unix domain socket at '/var/run/proftpd/test.sock': No such file or directory - notice: unable to listen to local socket: Operation not permitted - Fatal: TLSRSACertificateFile: '/etc/gadmin-proftpd/certs/cert.pem' does not exist on line 56 of '/etc/proftpd/proftpd.conf'
I couldn't get GADMIN-PROFTPD to activate so I activated it using sudo /etc/init.d/proftpd start Now when I have proftpd started from the terminal command line and go to [URL] in firefox I get a white browser window but no directory listings without any promtp for a username or password (192.168.1.100 being my internal LAN server IP address) Can you tell me what I am doing wrong with the below config?
I'm having problems with the ftp-server ProFTPd,If I transfer files from a Linux host to a Windows client, it says that my transfered files are damaged, so I'm unable to open them..I've searched this forum and several people say I have to set the default transfer mode to 'binary' mode.I did that, but it didn't work at all for me... so despite the binary transfer mode my files are still damaged when I transfer them.when I do it through SSH, it works fine, so the problem is the FTP-server...
I went on radio's web site to listen to it when i hit the link to listen to i get an error saying i don't have the required plugin and an option to search. I searched and i got this message