OpenBSD Handbook

    Theme
    • Part I. Install & Configure
      • Introduction to OpenBSD
      • Installing OpenBSD
      • The X Window System
      • Networking on OpenBSD
      • System Configuration
      • OpenBSD Basics
      • Managing Software: Packages and Ports
    • Part II. Daily Operations
      • OpenBSD Desktop Environments
      • Multimedia
      • Printing
      • Linux Compatibility
      • Windows Compatibility
      • Games
    • Part III. System Administration
      • Virtualization
      • Storage and File Systems
      • Updating and Upgrading
      • Localization
      • The OpenBSD Boot Process
      • Security
    • Part IV. Networking & Daemons
      • Services
        • Database
          • MariaDB
          • PostgreSQL
          • Redis
          • memcached
        • Directory
          • YP (NIS)
          • LDAP
        • File
          • NFS
          • Samba
        • FTP Services
          • ftpd
          • ProFTPD
          • vsftpd
          • Pure-FTPd
          • TFTP
        • Mail
          • OpenSMTPD Mail Server
          • Dovecot IMAP and POP3 Server
          • Postfix
          • Exim
          • Rspamd
        • Name
          • Unbound DNS Resolver
          • NSD Authoritative DNS Server
          • BIND DNS Server
        • Networking
          • OpenBGPD
          • rad
          • DHCP on OpenBSD
          • slaacd
        • Web
          • Apache HTTP Server
          • nginx Web Server
          • OpenBSD httpd Web Server
          • relayd Reverse Proxy
        • Logging
          • syslogd
        • Monitoring
          • SNMP
        • Remote Access
          • Audit OpenSSH
          • OpenSSH Server
        • File Synchronization
          • rsync
        • Messaging
          • RabbitMQ Message Broker
        • Time
          • NTP Time Synchronization
      • PF
        • pfctl cheat sheet
        • PF Anchors
        • PF Filter Rules
        • PF Forwarding
        • PF Lists and Macros
        • PF Load Balancing
        • PF Logging
        • PF NAT
        • PF Options
        • PF Policies
        • PF Shortcuts
        • PF Tables
      • Advanced Networking
        • High Availability and State Replication
        • Multi-WAN and Policy-Based Routing
        • VPN and Cryptographic Tunneling
        • Classic and Lightweight Tunnels
        • IPv6 at Scale
        • QoS and Traffic Shaping
        • MPLS and Label Distribution
        • Network Services at Scale
        • Virtualization and Host Networking
        • Large-Scale L2 and L3 Design
        • Telemetry, Logging, and Flow Export
        • Hardening and Operational Safety
        • Reference Architectures
        • Troubleshooting Playbooks
      • Serial Communication
    • Part V. Miscellaneous
      • Virtualization Cheat Sheet
      • OpenBSD Cheatsheet
      • How-to Guides
        • Complete the First 30 Minutes After Installation
        • Check Hardware Compatibility Before Installing
        • Bootstrap Wi-Fi Firmware Without Ethernet
        • Set Up OpenBSD as a Laptop or Workstation
        • Configure Laptop Power Management
        • Run OpenBSD as a Virtual Machine Guest
        • Install OpenBSD on a VPS or Cloud Server
        • Install OpenBSD with Full-Disk Encryption
        • Troubleshoot Web Browsers on OpenBSD
        • Create an Administrator Account with doas and SSH Keys
        • Establish a Conservative Security Baseline
        • Manage OpenBSD with Ansible
        • Recover Access and Reset the Root Password
        • Collect OpenBSD Diagnostic Evidence
        • Configure Secure Remote Access with OpenSSH
        • Set Up WordPress on OpenBSD
        • Build Third-Party Software from Ports
        • Use FIDO Security Keys with OpenSSH
        • Build OpenBSD from Source
        • Configure Wi-Fi Roaming and Wired Failover
        • Dual-Boot OpenBSD on a UEFI System
        • Troubleshoot PF, NAT, and Routing
        • Automate OpenBSD Installation with Autoinstall and PXE
        • Route Multiple VLANs with PF
        • Configure a Road-Warrior WireGuard VPN
        • Troubleshoot Package Installation and Update Failures
        • Route IPv6 Networks without NAT
        • Schedule Recurring Maintenance
        • Plan a Docker Workload Migration to OpenBSD
        • Build a Mail Server with OpenSMTPD, Dovecot, and Rspamd
        • Build a Simple Router and Firewall
        • Monitor an OpenBSD System
        • Back Up and Restore an OpenBSD System
        • Configure softraid RAID1
        • Recover an OpenBSD System That Does Not Boot
        • Install Z shell (zsh)
      • OpenBSD for Linux Users
      • OpenBSD for FreeBSD Users
      • OpenBSD for macOS Users
    • OpenBSD FAQ
    • OpenBSD Architectures
      • OpenBSD Package Search

        poptop-1.3.4p9

        Package search / Categories / Current snapshot
        โ† Back to search
        OpenBSD branch
        OpenBSD 8.0 releaseCurrent snapshot

        Current snapshot ยท amd64

        PPTP Server

        Project homepage: https://poptop.sourceforge.net/

        Description

        PoPTop is a PPTP server solution for Unix. PoPToP allows Unix Servers to function seamlessly in the PPTP VPN environment. The current release version supports Windows(tm) 95/98/NT/2000 PPTP clients and Unix PPTP clients.

        Package information

        Ports path
        net/poptop
        Package architecture
        amd64
        Maintainer
        The OpenBSD ports mailing-list <ports@openbsd.org>
        Categories
        net
        Available flavors
        None listed

        Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.

        Direct dependencies

        Build

        • devel/gmake
        OpenBSD README
        +-----------------------------------------------------------------------
        | Running poptop on OpenBSD
        +-----------------------------------------------------------------------
        
                             PoPToP - Unix PPTP Server
                           ----------------------------
        1. GRE Support
           PoPToP requires GRE support to be enabled. It will be enabled at run time
           by the pptpd daemon.
        2. Configuration of PPTP
           A sample configuration file is copied into your configuration directory
           (normally /etc) as pptpd.conf. Personalise this config file to suit. At
           least configure 'localip' and 'remoteip'.  Only 'localip' needs to be
           configured on one of your interfaces.
        3. Configuration of PPP
           PoPToP only handles a small part of the PPTP connection, most of the work
           is done by PPP.
        3.1 /etc/ppp/options
           General desired options:
                proxyarp
           For Microsoft clients you will want the following options:
                +MSChap-V2 mppe-128 mppe-stateless
           Lower cryptography level (40-bit v 128-bit) is also available, but not
           recommended.
                mppe-40
           Optional for Microsoft clients (not preferred)
                +MSChap
        3.2 /etc/ppp/ppp.conf
           In ppp.conf create a section pptp
                pptp: enable proxy set dns IP.Of.DNS.Server1 IP.Of.DNS.Server2 set
                ifaddr Local.IP Remote.IP set timeout 0
           For non-Microsoft clients chose your authentication method (one or more
           of):
                enable pap enable chap
           For Microsoft clients you will also want:
                enable MSChapV2
           If you chose "+MSChap" in options above you can enable it with
                enable MSChap
           If you have a WINS server:
                set nbns IP.Of.WINS.Server
        3.3 Users and Passwords
           You will now need to create username/password entries for your users in
           /etc/ppp/ppp.secret. See /etc/ppp/ppp.secret.sample for examples. If you
           assigned a range to 'remoteip' in the above configuration files, you can
           assign per-user IPs for accounting purposes here (third field).
        4. Firewalls
           There are three flows you will need to create.  An inbound TCP connection
           to port 1723 (Initial connection)
                pass in  quick on $ext_if proto tcp from any to $ext_ip port = 1723 \
                modulate state
           An inbound and outbound GRE connection (The main data channel)
                pass in  quick on $ext_if proto gre from any to $ext_ip keep state
                pass out quick on $ext_if proto gre from $ext_ip to any keep state
           Where $ext_ip is the externally accessable IP address ('host' in the PPTP
           client config).
           Also, make sure you have flows defined to allow the traffic out of your 
           server. The traffic will appear to be from the IP address defined in
           ppp.secret, or if not defined there, Remote.IP as defined in ppp.conf
           (first available if this a pool).
        

        Package guides

        • Installing and updating packages

        Package details as JSON

        Report a bug