Speeding Up Perl Scripts With SpeedyCGI/PersistantPerl On Debian Etch
View original post
Speeding Up Perl Scripts With SpeedyCGI/PersistantPerl On Debian Etch
This tutorial shows how to install and use SpeedyCGI
(also known as PersistantPerl) on a Debian Etch system. SpeedyCGI is a
way to run Perl scripts persistently, which can make them run much more
quickly. It keeps the Perl interpreter running, and during subsequent
runs, this interpreter is used to handle new executions instead of
starting a new Perl interpreter each time.
Filed under Debian | Comment (0)
Modifying PDF Files With PDFedit On Ubuntu Feisty Fawn
View original post
Modifying PDF Files With PDFedit On Ubuntu Feisty Fawn
This article shows how you can install and use PDFedit on an Ubuntu Feisty Fawn desktop. PDFedit is a free and open-source editor for manipulating PDF documents.
View source postFiled under Ubuntu | Comment (0)
How to get PASV FTP to work behind a NAT router with ProFTPD
View original post
If you want to work with FTP server behind NAT use the following procedure.We have already discussed how to install proftpd server on ubuntu if you want to check click here .
Now you need to edit the proftpd configuration file using the following command
sudo vi /etc/proftpd.conf
at the end of the file add the following lines
PassivePorts 60000 60100
MasqueradeAddress SiteName.com
MasqueradeAddress xxx.xxx.xxx.xxx
The PassivePorts command we entered there allows 100 concurrent connection which should be enough for most home users. Those are the ports we are going to have to forward to the FTP server on the router. Replace the xxx.xxx.xxx.xxx with the routers public IP address
Restart the proftpd server using the following comamnd
sudo /etc/init.d/proftpd restart
Now we have to forward the PassivePorts on the router. Login to your router click on the advanced tab then the forwarding tab. Enter in the port range we specified in the configuration file then check the TCP box UDP does not need to be enabled then enter the IP address of the FTP server and click enable. Click the “Apply button and your done on the router. Note if you are using a different brand router the process should be similar this is the setup on a Linksys router.
This should work your FTP server should work behind your NAT router. There is one drawback to this if you have a dynamic IP address from your ISP you will need to update the address in your configuration file whenever it changes.
Tags: configuring proftp to allow NAT, General, proftp passive ports configuration, proftpd behind NATconfiguring proftp to allow NAT, General, proftp passive ports configuration, proftpd behind NAT
Filed under Ubuntu | Comment (0)