Skip to content
Bots!
Bots!
  • About
    • Myself
    • আমার দোয়া
  • Bookmarks
    • Bookmarks
    • My OCI Bookmarks
    • Useful Proxmox Commands & Links
    • Learning Nano
    • Useful Sites
    • Useful Virtualbox Command
    • Useful MySQL Command
    • Useful Linux Command
    • BTT-CAS
  • Resources
    • Webinar on Cloud Adoption for Project Managers
  • Photos
  • Videos
  • Downloads
Bots!

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

  1. Go to VPN > PPTP from top menu
  2. Under “Configuration” tab-
    1. PPTP redirection > Enable PPTP server
    2. Define “No of user”
    3. Server Address- type 1.2.3.4 (trust me, it works no matter whatever your WAN or LAN IP is!)
    4. Remote Address Range- <your LAN IP>
    5. PPTP DNS Server- I used- 114.130.5.5 and 8.8.8.8
    6. Place a ‘tick’ “Require 128-bit encryption”
    7. Save
  3. Now go to “user” tab-
    1. Click “+”
    2. Enter Username and Password in respective text box
    3. Save
  4. Next-
    1. Move in Firewall > Rules > PPTP VPN
    2. Add A New Rule
    3. Under Interface select > PPTP VPN
    4. Protocol > TCP/UDP
    5. Source > Type any
    6. Destination > Type any
    7. Destination port range > from any to any
    8. In “Advanced Features” Gateway section > select your WAN gateway
    9. Save
    10. Now back to Firewall > Rules > PPTP VPN and add another new rule
    11. In this Rule under Interface select > PPTP VPN
    12. Protocol > ICMP
    13. Save

Now your PPTP VPN server is ready.

Configuring PPTP Client under Windows XP (similar works for vista/7/8 edition)

  1. Navigate to Start > Control Panel > Network Connections
  2. Click File > New Connection, click Next
  3. Select Connect to the network at my workplace, click Next
  4. Select VPN connection, click Next
  5. Enter Descriptive name for connection, click Next
  6. Select Do not dial the initial connection, click Next
  7. Enter Hostname or PUBLIC IP address of the PPTP server, click Next
  8. This would be the IP address in use on the default WAN of the firewall
  9. Select Do not use smart card, click Next
  10. 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:

  1. Click Properties
  2. Click Networking, then select Internet Protocol (IPv4)
  3. Click Properties
  4. Click Advanced
  5. Uncheck Use default gateway on remote network
  6. Click OK (3 times)
  7. Enter a username and password configured during the PPTP User Setup process.
  8. Click on Connect
  9. The client will attempt to connect. It will show “Connecting”, then “Verifying username & password”, then “Authenticated”, and perhaps “Registering computer on network”.
  10. Right click on the tray icon for the VPN connection
  11. Click Properties
  12. Click Details
  13. Ensure that we are using MSCHAP v2 and MPPE 128
  14. Attempt to ping the LAN interface of the firewall.

Screen Shot 10-20-15 at 12.13 PM Screen Shot 10-20-15 at 12.14 PM 001 Screen Shot 10-20-15 at 12.14 PM 002 Screen Shot 10-20-15 at 12.14 PM 003 Screen Shot 10-20-15 at 12.14 PM 004 Screen Shot 10-20-15 at 12.14 PM Screen Shot 10-20-15 at 12.15 PM 001 Screen Shot 10-20-15 at 12.15 PM

Administrations Configurations (Linux) pfsensepptp

Post navigation

Previous post
Next post

Comment

  1. BDT says:
    December 14, 2016 at 8:11 pm

    This is awesome, thanks so much for the guide!
    Really helpful and straightforward. Just great

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Myself…

Hi, I am Hasan T. Emdad Rumi, an IT Project Manager & Consultant, Virtualization & Cloud Savvyfrom Dhaka, Bangladesh. I have prior experience in managing numerous local and international projects in the area of Telco VAS & NMC, National Data Center & PKI Naitonal Root and CA Infrastructure. Also engaged with several Offshore Software Development Team.

Worked with Orascom Telecom-Banglalink, Network Elites as VAS partner, BTRC, BTT (Turkey) , Mango Teleservices Limited and Access to Informaiton (A2I-UNDP)

Currently working at Oracle Corporation as Principal Technology Solution and Cloud Architect.

You can reach me [h.t.emdad at gmail.com] and I will be delighted to exchange my views.

Tags

Apache Bind Cacti CentOS CentOS 6 CentOS 7 Debain Debian Debian 10 Debian 11 Debian 12 DKIM Docker endian icinga iptables Jitsi LAMP Letsencrypt Linux Munin MySQL Nagios Nextcloud NFS nginx pfsense php Postfix powerdns Proxmox RDP squid SSH SSL Ubuntu Ubuntu 16 Ubuntu 18 Ubuntu 20 Varnish virtualbox vpn Webmin XCP-NG zimbra

Topics

Recent Posts

  • Install Jitsi on Ubuntu 22.04 / 22.10 April 30, 2025
  • Key Lessons in life April 26, 2025
  • Create Proxmox Backup Server (PBS) on Debian 12 April 19, 2025
  • Add Physical Drive in Proxmox VM Guest April 19, 2025
  • Mount a drive permanently with fstab in Linux April 16, 2025
  • Proxmox 1:1 NAT routing March 30, 2025
  • Installation steps of WSL – Windows Subsystem for Linux March 8, 2025
  • Enabling Nested Virtualization In Proxmox March 8, 2025
  • How to Modify/Change console/SSH login banner for Proxmox Virtual Environment (Proxmox VE / PVE) March 3, 2025
  • Install Proxmox Backup Server on Debian 12 February 12, 2025

Archives

Top Posts & Pages

  • Install Jitsi on Ubuntu 22.04 / 22.10
©2025 Bots! | WordPress Theme by SuperbThemes