| || |
Join Date: Jul 2011
Re: Need help to configure PPTP on Cisco WAG320N
Here is a short guide by which you can start PPTP configuration on Linux system. It is possible that there might be some issue with configuration or you are missing something. First as mentioned above just ensure that you have a open port. I had did this before on vpn and it worked fine. It is might be worth sharing the same here. Compared to VPN I had noticed that PPTP is a bit less complicated. The installation and configuration is easier and you do not need to do much modifications. Also you can easily communicate with non linux based system.
- Being with port forwarding. You will need to forward port number 1723. If this is not open then the connection will not establish at all. Ensure that you have unblock this. Add the same under exception list of firewall connectivity also.
- To begin with PPTP server setup on Linux you have to start from installing pptp server package on Linux system. To install that run command the following command in terminal - sudo apt-get install pptp.
- Once done with that you will need to modify the pptpd.conf file which is located in etc directory. To access that run - sudo vim /etc/pptpd.conf. In this file add the localip - xxx.xxx.x.x (server ip address ) and in remote ip configure ip for client systems.
- To edit pptpd.conf run -- sudo vim /etc/ppp/pptpd-options. In the existing window you can see certain options like ms-dns, mtu, etc. Here ms-dns is the dns server of your network. So you need to adjust that as per your requirement. Second thing you have to also edit the chap secret file by using - sudo vim /etc/ppp/chap-secrets. This file act as the authentication gateway for user who will be accessing your network. Add a username and password and run - sudo /etc/init.d/pptpd restart to reboot the connection.
- Till here you are done with pptp configuration. Later on you can play with more permission to access network. I am here not going to provide you those settings, because if any wrong configuration is done, then your server may be on risk. But you can modify your existing parameters by editing sysctl.conf file.