Sending an email from command line in Linux is very easy. You can use “mail” program in Linux to acomplish your tasks. This method requires an active (or forwarding) SMTP service running in your local machine. Couple of ways I have used this program are listed as follows,
Linux
Configuring PPTP VPN on Debian
This guide focuses on Debian 5.0 Lenny. PPTP VPN works on port 1723 and it also needs GRE protocol to work (port 47). Before you start configuring make sure your Router/Firewall had enabled these ports to this server. Configuration steps are as follows,
1. Install pptpd
apt-get install pptpd
Cisco VPN client configuration in Ubuntu
This guide is focuses on Ubuntu users who needs to connect to Cisco VPN. We will be using VPNC (it is in Ubuntu 9.04) and assumes you have profile file in .pcf format (we will use cisco.pcf as an example here).
Let’s begin and follow the steps exactly replacing your own pcf file:
Open terminal and run the following commands. Create a directory for our configuration and change into that directory,
mkdir vpnclient
cd vpnclient