FTP Port from 21 to 211
Greetings,
I have an:
Xserve
2x 2GHz Dual-Core Intel Xeon
2GB 667 MHz FB-DIMM
Trying to reconfigure the FTP port from 21 to 211 (or any other, except 21).
How do I tell the Xserve to listen for that particular port for FTP instead of 21?
I already forwarded the port 211 to the IP address assigned to the Xserve.
Thank you.
First let me preface this by saying I think this is a really bad idea.
There are two common reasons for using non-standard ports for services. One is to circumvent network filters (such as those imposed by an ISP), the other is to hide the fact you're running a particular server.
In the former, there are usually easier ways to overcome that, for example, port forwarding at the router, tunneling over SSH or a VPN, or using a different protocol SFTP, for example.
In the latter you're largely wasting your time since any serious hacker isn't trying any particular port to get into your machine, they run a port scan and analyze whatever responds. Any worthy hacker (is that a legitimate term? ) will know almost immediately what kind of service is running on any given port.
In addition to all of that, FTP is a major PITA due to its use of multiple ports. While you may use port x for the FTP control connection, you typically use port x-1 for the data connection, meaning you need to open port 210 as well as 211.
Then comes the future. Running non-standard ports requires that you remember the changes and re-apply them after any future updates - Apple have a habit of updating files they don't expect users to change and you may find that FTP reverts to a standard port without you realizing.
That said, FTP's main control file is /System/Library/LaunchDaemons/ftp.plist.
In there you'll find the part that tells FTP which network ports to listen to:
<key>Sockets</key>
<dict>
<key>Listeners</key>
<dict>
<key>SockServiceName</key>
<string>ftp</string>
<key>Bonjour</key>
<true/>
</dict>
</dict>
The SockServiceName is the relevant part - in this case it tells the daemon to listen on the 'ftp' port.
At this point you have two options - either tell it to use a different port, or redefine what 'ftp' relates to.
In the first option, I think (but haven't confirmed) you can just change the <string>ftp</string> with an alternate port number, e.g.:
<key>SockServiceName</key>
<string>211</string>
The other option is to edit the file /etc/services (which is where the daemon looks up the port names) and redefine the ftp port number:
ftp 21/udp # File Transfer [Control]
ftp 21/tcp # File Transfer [Control]
Change both these numbers to 22. You may also need to change the 'ftp-data' ports listed immediately above in the file.
As mentioned before, whichever option you choose (.plist or /etc/services) you should be prepared to re-apply the change if Apple overwrites them.
If you're running a firewall you will also need to edit your firewall rules to match the new port numbers.
Similar Messages
-
How do I set up my Belkin router to forward ftp port to macMini?
I am trying to set up my spare macMini (non-intel) as an ftp server, but I am not able to connect to the ftp server (office) from a remote location with my MacBook Pro (home). I have tried to make the right settings as below:
1. forwarded ports 20 and 21 on my Belkin router to the private IP of my macMini (192.168.2.15)
2. set up a dynamic dns account xxx.dyndns.org so that this domain is updated with the current public IP
3. set Sharing Preferences to allow ftp access and turned off the Firewall
I think the port forwarding info is not correct because it does connect if I use the DMZ setting and hard code the public IP to the private IP.
Any help appreciated,
CynthiaAre you sure that your Internet Service Provider (ISP) doesn't block the ftp ports?
Is is fairly common these days for ISPs not to allow any kind of file server on ordinary household contracts.
Anyway, I'd suggest you rule that out before you get further into the intricacies of port forwarding.
I also hope that you only have the firewall turned off for the ftp ports -- or if not, that your router has firewall protection. -
Can't open FTP ports in Airport Extreme router
Hi,
I have three computers networked at home with an Airport Extreme serving as a router to the internet. A couple days ago I set up an FTP server on one computer (Ubuntu Linux). It is running properly and I CAN get into the FTP server via the local area IP address (10.0.1.101). However, no matter what I do I can't get the Airport Extreme to forward any FTP connections from outside. I have port forwarding set up correctly and working correctly for echo (7), daytime (13) ssh (22) http (80) nfs (2049) and vnc (5900). However, even though I set ports 20,21 to be forwarded to the correct computer nmap they are NOT open. (nmap doesn't see them, and telnet to ports 20 or 21 is refused. However nmap on the server locally (ie as localhost) shows that these ports ARE open on the server, and ftpd IS running.) Neither of my mac laptops has ftp file sharing turned on in the preferences (not like this should matter anyway). The Airport Extreme just plain does not open or forward anything to ports 20-21.
I also tried putting the FTP server on a different port (2121), but this doesn't work either. Is this just Apple playing nanny and not allowing me to run FTP for my own good? I have been troubleshooting this for two days and no closer to a solution. I hope someone can offer some advice.
CraigI believe that I've found the problem with the AirPort/Time Capsule (version 7.3.1) support for FTP.
For whatever reason, when an FTP connection comes-in from the WAN, the NAT translation is reporting the IP address of WAN side of the router instead of the IP address of the actual system connecting from the Internet.
I confirmed this by setting up a FTP server on my Linux machine and watching the connection to the FTP server from the internet. When you perform a:
netstat -an | grep ':21 '
from the Linux shell, you see that the IP address that is connected is your own WAN IP address of your AirPort/Time Capsule.
Apparently the AirPort/Time Capsule recognizes the connection is an FTP client and manipulates the connection in such a way as to report the wrong IP address that is connecting to your FTP server.
This isn't a problem, unless you're using /etc/hosts.allow and /etc/hosts.deny to have port wrapper permit only listed IP addresses to have access to the FTP service. In that case, all connections seem to come in from your router's WAN IP address, so there's no way to distinguish where the connection is coming from.
Apple needs to take a closer look at the version 7.3.1 for the Time Capsule (not sure what the version is for the AirPort Extreme) and fix the reported IP address from the WAN side connection. -
Should FTP port be opened for client_to_as function
I need to transfer a file from the client machine to the Solaris Server where the 10g forms are running. I was planning on using the webutil_file_transfer.client_to_as function. I know we have to set some properties in the webutil.cfg file. Other than that, should the FTP port be open on the server for the file to be transferred from the client machine. Basically, wanted to know if FTP protocols are used to transfer the file so that certain securities can be set on the server.
Also does anyone know how to delete the file on the solaris server programmatically through Oracle Forms? After the file is transferred from the client to the server and processed, I need to delete the file. I am assuming you can use the HOST command, but not sure of the exact syntax and what permissions are required to delete the file from the client machine.I have never used the "Client_To_AS" method, however, according to the documentation all you need to configure is the webutil.cfg and insure the transfer.appsrv.enabled parameter is set to TRUE and if the transfer.appsrv.accessControl parameter is set to TRUE then you also need to ensure the target directory on the App Server is listed in the transfer.appsrv.write list. There is no mention that FTP must be enabled on the App Server.
The documentation also states that you should call the WebUtil_File_Transfer.IsASWritable function with the target file name to ensure you are able to write to the file location on the server.
As to how to delete a file, you can use the "rm <filename>" command in Solaris to remove the file. Also, here is the link to the documentation I used to reply to your post.
http://www.oracle.com/technology/products/forms/htdocs/webutil/web_util.pdf
Hope this helps.
Craig... -
I have a WRT54G2 router. I recently got a LaCie network hard drive that uses remote access (FTP) to access the hard drive. I have connected & transferred files locally but have not been able to connect remotely. LaCie support tells me that I need to get port 21 open on my router. I am not sure exactly how to do that. I have contacted my ISP (at&t) & they do not block port 21 or anything to do with FTP. Thanks so much, I'm fairly new at this stuff.
First of all, I would STRONGLY advise not opening port 21 on your router, unless you are going to do it temporarily for times you want to transfer files. Opening FTP (port 21) is like opening the door for hackers. You may find your bandwidth being used by people trying to gain access to your system....
If you MUST do it, make sure the FTP server on the network drive is secure...thoroughly research the device on community bulletin boards to find out if there any known vulnerabilities that cannot be overcome. If you STILL want to go ahead, make sure you configure it with a very strong password, that is unlikely to be cracked...there are numerous sites out there that can help you to pick a strong password.
If your FTP server in the device supports it, and you know the IP address from which you will be accessing it, see if you can restrict FTP access to only your loacal network, and any specific IPs you will be accessing it from.
Then, once you have finally decided you want to potentially allow the world to access your files, go to portforward.com, where you can find out how to set up port forwarding (opening ports) on your router.
Tomato 1.25vpn3.4 (SgtPepperKSU MOD) on a Buffalo WHR-HP-G54
D-Link DSM-320 (Wired)
Wii (Wireless) - PS3 (Wired), PSP (Wireless) - XBox360 (Wired)
SonyBDP-S360 (Wired)
Linksys NSLU2 Firmware Unslung 6.10 Beta unslung to a 2Gb thumb, w/1 Maxtor OneTouch III 200Gb
IOmega StorCenter ix2 1TB NAS
Linksys WVC54G w/FW V2.12EU
and assorted wired and wireless PCs and laptops -
Two FTP ports on a single solaris server
can i have two FTP ports on single Solaris server ? If yes, HOW ??
Hi adiyakiran,
This is possible in third party ftp server wu-ftpd. you can download it from http://www.sunfreeware.com.
read wu-ftpd faq URL: http://www.wu-ftpd.org/wu-ftpd-faq.html
Testing on a different port number then ftp:21
This can be done from the command line or with a special definition in /etc/services ,/etc/inetd.conf. For command-line, look up -P and -p in the ftpaccess(5) manpage.
To set up with special definitions, add 2 ports with consecutive numbers in /etc/services, and then start wu-ftpd on these ports. Add to /etc/services something like :
ftptest 4021/tcp #command port
ftptest-data 4020/tcp #data port
Then start wu-ftpd from /etc/inetd.conf like :
ftptest stream tcp nowait root /usr/etc/in.ftpd in.ftpd
The key is the name 'ftptest' which associates the port assignment in the /etc/services file to that in the inetd.conf file. Make certain the choice of ports in /etc/services (4021 and 4020 above) are from the local use list and don't conflict with other port assignments (see RFC1700, ASSIGNED NUMBERS). One important subtlety. The data
port is not really derived from the data port declaration in the /etc/services file. The FTP specification (RFC765) states the data port is defined as one less than the command port. However, including the data port declaration in the /etc/services file prevents it from being accidentally assigned to something else.
Thanks.
regards,
senthilkumar.
SUN - DTS -
What about ftp-access from www?
Hi folks,
first I want to say, I browsed the forum since May 08.
Second please excuse my English.
I'm still trying to set up TC for FTP access from www.
afp works but what about ftp? -
I talk about ftp (RFC959) described in 1985! Why it does not work in a 2008 manufactured product?
I do not demand sftp but I never heard about a company that sells networking products which do not support ftp forwarding...
Apple -that's poor performance.
Hundreds of users are still waiting for firmware update.
Please publish the firmware, if your lack of resources doesn't allow to solve this problem!
Does anybody has an idea to access TC from WAN?
<Edited by Moderator>
ThxAs you have mentioned that your ISP is an DSL provider, Login to the setup page of your Router and click on the status tab and check if the Internet IP address.
Have you enable the FTP feature on your Router? If not then login to the setup page of your Router and click on the storage tab and below Enable "FTP Server" and let the FTP Port be 21 and below select the folder which you want to access it from Internet and click on save settings... Then click on the Administration tab and check for the "Server Internet IP Address" and also below check if Anonymous FTP access is it Enable or Disable.If you wish to allow anonymous Internet access then you need to Enable it or let it be Disable and click on save settings...
To access your FTP server from Internet note down the WAN IP, So it should be ftp://ftp.wan-ip:21. This should allow you to access your drive from the remote location. -
AirPort Extreme FTP port is open when doing Remote Port Scan
I have a question regarding the AirPort Extreme Base stations running firmware 7.7.3. Currently the AirPort is not port-mapping any services, however when I do a remote port scan of that particular AirPort I have noticed some TCP ports are open from the outside, such as FTP port 21, RTSP port 554 and ARCP port 7070. Why is that? I thought the AEBS blocks these services by default, unless otherwise configured to be open. Is this a vulnerability with the firmware?
TCP and UDP ports used by Apple software products - Apple Support
Your 554 and 7070 may be open due to links to itunes store. It is not a big vulnerability since it is for streaming.
Port 21 is more a concern.. It is used internally by the AE apparently.. but I really do not know why. FTP as a protocol is not offered to the outside world. so you cannot connect to it and get info for files.. even if you have a hard disk plugged in. Why it should be open to the outside world I am not sure.
Do you have BTMM turned on? It may be involved with remote services.
If you are concerned it is not hard to fix.. port map those ports to a non-existent client in the network.. however your itunes store connection might stop working as well as some other things... that need those ports open.. There is also a good chance you cannot map them when they are used.. so do a factory reset and before you setup other applications or BTMM do the port map and see what happens.
You can also post the details to apple directly but I honestly doubt you are facing any big issues here. -
Hello,
I am trying to use a non-standard FTP port (2121) with B2B (10.1.2) but it seems not to work as it should (or as I anticipate anyways).
I change the "receiver control port" and it picks up the files fine from the endpoint. But when it sends file it sends them to "port 21".
So is there spoused to be a "sender control port" somewhere or am I missing something?
I also noticed this post B2B Sftp Port number but that is about SFTP and this is vanilla plain old FTP so nothing fancy.
// Michael MedinYes, that is what I have configured as follows:
*Remote TP [CAB]:*
Delivery Channel:
Name: CAB_CABTest_EDIEL_DC
Document Exchange: CAB_EDIEL_FTPDocEx
Transport: CAB_CABTest_EDIEL_FTPTransport
Transport:
Name: CAB_CABTest_EDIEL_FTPTransport
Transport Server: CAB_CABTest_EDIEL_FTPTransportServer
URI: /Recv
Transport Server [CAB_CABTest_EDIEL_FTPTransportServer]:
receiver control port = 2121
*Host TP [GoteborgEnergi]:*
Delivery Channel:
Name: GoteborgEnergi_CABTest_CAB_EDIEL_FTPDC
Document Exchange: GoteborgEnergi_EDIEL_DocEx
Transport: GoteborgEnergi_CABTest_CAB_EDIEL_FTPTransport
Transport:
Name: GoteborgEnergi_CABTest_CAB_EDIEL_FTPTransport
Transport Server: GoteborgEnergi_CABTest_CAB_EDIEL_FTPTransportServer
URI: /Send
Transport Server [GoteborgEnergi_CABTest_CAB_EDIEL_FTPTransportServer]:
receiver control port = 2121
The interesting thing here is that there is a FTP server at port 21 as well which is what is being used for sending:
Transport log like so:
2009.11.11 at 09:17:27:871: Thread-16: (DEBUG) FTPAgent.login(): Enter
2009.11.11 at 09:17:27:871: Thread-16: (DEBUG) Host name is 'cabkonvappinv'.
2009.11.11 at 09:17:27:874: Thread-16: (DEBUG) Host cabkonvappinv FTP command: USER cabftpt3edi
2009.11.11 at 09:17:27:874: Thread-16: (DEBUG) FTP Command: USER, reply:
*331 User name okay, need password.*
2009.11.11 at 09:17:27:874: Thread-16: (DEBUG) Host cabkonvappinv FTP command: PASS
2009.11.11 at 09:17:27:915: Thread-16: (DEBUG) FTP Command: PASS, reply:
2009.11.11 at 09:19:28:163: Thread-12: (DEBUG) FTPAgent.login(): Enter
2009.11.11 at 09:19:28:163: Thread-12: (DEBUG) Host name is 'cabkonvappinv'.
2009.11.11 at 09:19:28:164: Thread-12: (DEBUG) Host cabkonvappinv FTP command: USER cabftpt3edi
2009.11.11 at 09:19:28:164: Thread-12: (DEBUG) FTP Command: USER, reply:
*331 Password required for cabftpt3edi.*
2009.11.11 at 09:19:28:164: Thread-12: (DEBUG) Host cabkonvappinv FTP command: PASS
2009.11.11 at 09:19:28:165: Thread-12: (DEBUG) FTP Command: PASS, reply:
530 User cabftpt3edi cannot log in.
2009.11.11 at 09:19:28:165: Thread-12: (ERROR) Server 'cabkonvappinv' unable to login , reply code = 530
In the above log you can see we get different 331 response:
And trying from command line ftp yields:
ftp cabkonvappinv 21
331 Password required for cabftpt3edi.
ftp cabkonvappinv 2121
331 User name okay, need password.
So I am pretty sure it uses "the wrong port".
If you want I can send you the b2b log as well but here are some extracts but I have not been able to see any information about the "sending transport server" so it is not very useful:
// Michael Medin
2009.11.11 at 09:12:57:547: B2BStarter thread: B2B - (INFORMATION) oracle.tip.adapter.b2b.transport.TransportInterface:initialize: Props: ftp://cabkonvappinv//Send file.receiver.wallet_location = /etc/ORACLE/WALLETS/oracle/ewallet.p12
file.receiver.polling_interval = 60
file.receiver.path = /Send
file.receiver.marker = false
marker = false
ccc = false
file.receiver.channel_mask = None
file.receiver.minimum_age = 0
filename_format = *_%MSG_ID%.edi
file.receiver.van = false
file.sender.channel_mask = None
file.receiver.user = cabftpt3edi
PROTOCOL_ENDPOINT = null
file.receiver.password = *****
file.receiver.preserve_filename = false
transport_callout_waittime = 30
preserve_filename = false
file.receiver.control_port = 2121
file.receiver.ccc = false
van = false
polling_interval = 60
2009.11.11 at 09:19:28:154: Thread-12: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Calling Send to transmit the message
2009.11.11 at 09:19:28:154: Thread-12: B2B - (DEBUG) Protocol Name: FTP
2009.11.11 at 09:19:28:154: Thread-12: B2B - (DEBUG) Version Name: 1.0
2009.11.11 at 09:19:28:154: Thread-12: B2B - (DEBUG) Endpoint: ftp://cabkonvappinv//Recv
2009.11.11 at 09:19:28:155: Thread-12: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send URL: FTP://CABKONVAPPINV//RECV
2009.11.11 at 09:19:28:155: Thread-12: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send TO Endpoint: 506 ftp://cabkonvappinv//Recv
2009.11.11 at 09:19:28:155: Thread-12: B2B - (DEBUG)
Protocol = FTP
Version = 1.0
Transport Header
Content-Transfer-Encoding:binary
filename:GoteborgEnergi_2009Nov11_09_19_28_127.dat
ACTION_NAME:Process_EDIFACT_PRODAT_D97A
DATE:Wed, 11 Nov 2009 08:19:26 GMT
file.sender.type:BINARY
TO:CAB
DOCTYPE_NAME:PRODAT
FROM_PARTY:GoteborgEnergi
DOCTYPE_REVISION:D97A
FROM:GoteborgEnergi
MESSAGE-ID:internal_C0A8D210124E2535D6000000F899B200-1B2BIDSuffix
TO_PARTY:CAB
Connection:close
Parameters
-- listing properties --
http.sender.timeout=0
2009.11.11 at 09:19:28:166: Thread-12: B2B - (WARNING)
Message Transmission Transport Exception
Transport Error Code is 530 User cabftpt3edi cannot log in.
StackTrace oracle.tip.transport.TransportException: FTPAgent cannot login to cabkonvappinv. Check user name and password.
at oracle.tip.transport.basic.ftp.FTPAgent.login(FTPAgent.java:580)
at oracle.tip.transport.basic.ftp.FTPAgent.init(FTPAgent.java:614)
at oracle.tip.transport.basic.FileSource.init(FileSource.java:189)
at oracle.tip.transport.basic.FileSource.<init>(FileSource.java:111)
at oracle.tip.transport.basic.FileSender.send(FileSender.java:119)
at oracle.tip.transport.b2b.B2BTransport.send(B2BTransport.java:311)
at oracle.tip.adapter.b2b.transport.TransportInterface.send(TransportInterface.java:1034)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1757)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:975)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
at java.lang.Thread.run(Thread.java:534)
2009.11.11 at 09:19:28:166: Thread-12: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send Error in sending message
2009.11.11 at 09:19:28:166: Thread-12: B2B - (INFORMATION) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Request Message Transmission failed
2009.11.11 at 09:19:28:166: Thread-12: B2B - (DEBUG) DBContext beginTransaction: Enter
2009.11.11 at 09:19:28:166: Thread-12: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
2009.11.11 at 09:19:28:166: Thread-12: B2B - (DEBUG) DBContext beginTransaction: Leave
2009.11.11 at 09:19:28:166: Thread-12: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab FTPAgent cannot login to cabkonvappinv. Check user name and password.
FTPAgent cannot login to cabkonvappinv. Check user name and password.
2009.11.11 at 09:19:28:360: Thread-12: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
2009.11.11 at 09:19:28:360: Thread-12: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
2009.11.11 at 09:19:28:361: Thread-12: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
2009.11.11 at 09:19:28:362: Thread-12: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:notifyApp retry value <= 0, so sending exception to IP_IN_QUEUE
2009.11.11 at 09:19:28:370: Thread-12: B2B - (DEBUG) Engine:notifyApp Enter
2009.11.11 at 09:19:28:371: Thread-12: B2B - (DEBUG) Enqueue Engine AQJMSCorrelationID = null
2009.11.11 at 09:19:28:371: Thread-12: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>internal_C0A8D210124E2535D6000000F899B200-1B2BIDSuffix</correlationId>
<b2bMessageId>internal_C0A8D210124E2535D6000000F899B200-1B2BIDSuffix</b2bMessageId>
<errorCode>AIP-50079</errorCode>
<errorText>Transport error: FTPAgent cannot login to cabkonvappinv. Check user name and password.
FTPAgent cannot login to cabkonvappinv. Check user name and password.</errorText>
<errorDescription>
<![CDATA[Machine Info: (tsr-appint.goteborgenergi.se)
Transport error: FTPAgent cannot login to cabkonvappinv. Check user name and password.
FTPAgent cannot login to cabkonvappinv. Check user name and password. ]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
2009.11.11 at 09:19:28:377: Thread-12: B2B - (DEBUG) Engine:notifyApp Exit
2009.11.11 at 09:19:28:377: Thread-12: B2B - (DEBUG) DBContext commit: Enter
2009.11.11 at 09:19:28:379: Thread-12: B2B - (DEBUG) DBContext commit: Transaction.commit()
2009.11.11 at 09:19:28:379: Thread-12: B2B - (DEBUG) DBContext commit: Leave
2009.11.11 at 09:19:28:379: Thread-12: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequest Exit
2009.11.11 at 09:19:28:380: Thread-12: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage:
***** REQUEST MESSAGE *****
Exchange Protocol: Generic Version 1.0
Transport Protocol: FTP
Unique Message ID: GoteborgEnergi_2009Nov11_09_19_28_127.dat
Trading Partner: CAB
Message Signed: No
Payload encrypted: No
Attachment: None
***** REQUEST MESSAGE ***** -
Time Capsule Does Not Port Forward FTP Ports
Hey there,
I recently purchased a Time Capsule, and I found out that while it fixes the NAT-PMP bug found in my previous AirPort Extreme Base Station (Gigabit-N), it introduces a new problem which makes it refuse to forward port 21 properly.
It seems to me that the Time Capsule has some sort of FTP server built in, and is either enabled but closes connection on client connection, or disabled but still listens for client connection.
This message is what I get when I connect to my IP via FTP from the WAN side (FTP port forwarded to a local machine with an IP 10.0.0.8):
421 Service not available, remote server has closed connection.
When it is accessed from the LAN of course, I can connect to 10.0.0.8 with no problem. However, what is interesting is if I connect to the Time Capsule via FTP I get this as well:
421 Service not available, remote server has closed connection.
Thus, I am 100% certain that the FTP message I see when I connect from WAN is from the Time Capsule instead of the machine I port forwarded to.
Apple needs to fix this annoying problem and at the same time fixes some VPN issues I'm having with my Nortel VPN client (4.68). It was all working when I had the AirPort Extreme Base Station.I am having a problem establishing an FTP session that is started with my FTP Client (CuteFTP) on my local network and attempting to connect to an FTP Server with one of my hosting providers. My first few attempts used FTPS (Secure FTP) as that is what I typically use when transferring FTP packets over the net. Well, this didn't work so I thought maybe the Time Capsule had a problem inspecting the encrypted packets so I switched to standard clear-text FTP just to see if the Time Capsule handles FTP session management functions correctly. This didn't work either. I'm using PASV FTP and have never had a problem before with my CISCO Router or with another consumer-based NAT router. I don't believe that the Server on the Internet gets the initial request on port 21 as I believe the Time Capsule is not allowing the packet to pass and my FTP Client spits back an error message : "Couldn't access FTP service " "Connection Failed". I have also used "Terminal" and initiated the ftp utility and attempted to connect to the same server and receive the following error message : "421 Service not available, remote server has closed connection.". I have attempted to put my computer in the DMZ by using the Default Host feature on the Time Capsule but that resulted in the same errors. I believe that I have tried most of the settings available on the Time Capsule to attempt to get this to work but no luck yet. If the packet is getting through to the server and the response back on the current ephemeral port is not getting through the Time Capsule I'm really hoping the solution is not having to port map all ephemeral ports as this is in the tens of thousands. Has anyone successfully established an FTP Session (Secure or Not) from your local client through the Time Capsule to a Server on the Internet. If so, could you help by providing any Time Capsule settings that were required for this to function properly....Thanks in Advance.
Note: I have attempted to ftp to several different public ftp servers on the Internet and get the same error results. I have no problems ftping to local serverson my local network. -
How to Change the Default SSH Port from Terminal ?
How to Change the Default SSH Port from Terminal ?
How to Change the Default SSH Port from Terminal ?
now showing default SSH Port 22 i need change it pls help me how can do -
How to Change the Default SSH Port from Terminal ?
now showing default SSH Port 22 i need change it pls help me how can doHow to Change the Default SSH Port from Terminal ?
now showing default SSH Port 22 i need change it pls help me how can do -
How do I FTP files from a security camera to iCloud so they can be retrieved back to my MacBook Pro whenever I connect when travelling?
RussDo you want to watch the live feed of your secutiry cameras or recorded footage?
In either case, I don't think iCloud is your solution.
For the first one, check with your security camera software, they usually have this option of broadcasting, so you'll know how to access it.
For the later, you should use something like Dropbox (www.dropbox.com), since iCloud file sharing is, up to this date, app restricted.
Hope it helps.
JP -
Cannot upload to ftp host from Muse
Win 7, Muse v 2014.1.1.6
I want to "upload to ftp host" from Muse so client can edit in browser. I'm using the same login info that I use with Filezilla. This message appears "Could not validate that the specified domain is associated with the FTP server and folder. Proceed anyway?" I click yes, progress bar shows files uploading but Adobe® Muse™ CC In-Browser Editing says "This Muse site was not exported using the Upload to FTP Host command. Please use the Upload to FTP Host command to publish the site, and then try again."
When I try to add the folder web files actually reside in, (/httpdocs) Muse says "This folder does not exist. Create it?" I select NO being afraid of goofing up the site.
Client wants to be able to update text on Lots.
Any suggestions?Correct. Putting a slash in front of the folder indicates an absolute path, so we try and create a folder named "httpdocs" in the root folder of your FTP server - not what you want in this case. Removing the slash indicates a relative path - we look for the "httpdocs" folder in the working directory (the directory you are in when you first log in, probably something like '/public_html' or '/www'), and so finds your pre-existing folder.
-
Exception while accessing com port from servlet
I am trying to access communication port from a Servlet using java communications api's.
But Following exception was thrown
Caught java.lang.NullPointerException:name can't be null while loading driver com.sun.comm.Win32Driver
The SecurityManager do not allow that opeartion.
java.security AccessControlException:access denied (java.io.FilePermission c:\j2sdk1.4.1\jre\lib\javax.comm.properties delete)
at java.security.AccessControlContext.java:270) at java.security.AccessController.checkPermission(SecurityManager.java)
at java.lang.SecurityManager.checkDelete()
at java.comm.CommPortIdentifier.getPortIdentifiers(CommportIdentifier.java)
Please help me.Tell me what to do.how to successfully access a communication port from a Servlet.Hi there. I am also facing the problem accessing com port via servlet. if u have the solution, kindly forward to me at [email protected]
many thanks
Maybe you are looking for
-
Hi All, I have one problem while generating the reminder letters.whenever i did GR the system generates the messages in consecutive three days instead of 1 , 7 and 14 days which i have mentioned in the PO settings.Could anybody tel me what could be t
-
[Solved] How to build a module that's not in repos or AUR?
I am trying to follow the ABS instructions to build a module. I have the source code from GitHub. However, I cannot find anything that says what to do if the module has not already been built somewhere in Arch. It is not in the abs tree and it is not
-
Just in the past few days my iMac has decided it needs to reset its system sound volume to 100#% every time I shut it down, so it can blast me off my chair when I start it up next. No amount of adjusting the volume, from system prefs or menu bar wil
-
Mass vendor creation through LSMW
Hi, Could you please let me know the mass vendor creation through LSMW also let me know the text file format? Regards Nama
-
Error in ODBc creation:Its Urgent
Hi expert During creation of ODBc for Oracle i m getting to following error: Unable to connect SQLState=IM004 [[Microsoft]][[ODBC Driver Manager]] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed"ase Please suggest me how to overcome this error. Rega