Creating PPTP on Pfsense 2.2.4 Rumi, October 20, 2015October 20, 2015 If you want to build a PPTP server graphically build using pfsense nice looking interface, then please do follow the steps below. Here I assume, a proper NAT firewall is already running in the pfsense configuration. Step-1 Go to VPN > PPTP from top menu Under “Configuration” tab- PPTP redirection > Enable PPTP server Define “No of user” Server Address- type 1.2.3.4 (trust me, it works no matter whatever your WAN or LAN IP is!) Remote Address Range- <your LAN IP> PPTP DNS Server- I used- 114.130.5.5 and 8.8.8.8 Place a ‘tick’ “Require 128-bit encryption” Save Now go to “user” tab- Click “+” Enter Username and Password in respective text box Save Next- Move in Firewall > Rules > PPTP VPN Add A New Rule Under Interface select > PPTP VPN Protocol > TCP/UDP Source > Type any Destination > Type any Destination port range > from any to any In “Advanced Features” Gateway section > select your WAN gateway Save Now back to Firewall > Rules > PPTP VPN and add another new rule In this Rule under Interface select > PPTP VPN Protocol > ICMP Save Now your PPTP VPN server is ready. Configuring PPTP Client under Windows XP (similar works for vista/7/8 edition) Navigate to Start > Control Panel > Network Connections Click File > New Connection, click Next Select Connect to the network at my workplace, click Next Select VPN connection, click Next Enter Descriptive name for connection, click Next Select Do not dial the initial connection, click Next Enter Hostname or PUBLIC IP address of the PPTP server, click Next This would be the IP address in use on the default WAN of the firewall Select Do not use smart card, click Next Click Finish That is all that is required. If resources will be accessed which via the VPN that are not directly connected to the firewall itself, such as the Internet, the next steps should be skipped. By default when a connection is made to the PPTP server, the default gateway for ALL traffic will be via the PPTP VPN. With the current rules created in this example, resources outside the LAN or DMZ subnets would be unreachable. To allow that traffic, add more permissive rules, such as one with a pass to a destination of any. To change this behavior: Click Properties Click Networking, then select Internet Protocol (IPv4) Click Properties Click Advanced Uncheck Use default gateway on remote network Click OK (3 times) Enter a username and password configured during the PPTP User Setup process. Click on Connect The client will attempt to connect. It will show “Connecting”, then “Verifying username & password”, then “Authenticated”, and perhaps “Registering computer on network”. Right click on the tray icon for the VPN connection Click Properties Click Details Ensure that we are using MSCHAP v2 and MPPE 128 Attempt to ping the LAN interface of the firewall. Related Administrations Configurations (Linux) pfsensepptp
Install CakePHP 3 On Ubuntu 16.04 September 30, 2018September 30, 2018 This guide assumes you’ve set up a Ubuntu 14.04 server and have MYSQL up and running. This guide uses the “PHPMyAdmin” from the “One Click Apps” available on Digital Ocean running on a vps running Ubuntu 16.04. The smallest memory (512mb) should be enough to get you up and running…. Read More
Allow firewalld for webmin access after post installation August 4, 2019 FirewallD is an IPv6 compatible firewall mechanism used in recent Linux distributions (RedHat/Fedora/CentOS) replacing good old iptables. Related Read More
Install Zoneminder on Ubuntu 18.04 with shell script November 12, 2019November 12, 2019 This will install Zoneminder by using a shell script with one basic command (how easy is that!). You will need a Ubuntu 18.04 install with LAMP (Apache, MySQL and PHP) installed desktop or server. As an alternate you may use Mariadb in lieu of MySQL Shell script file contents: #!/bin/sh… Read More