V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
LxnChan
V2EX  ›  程序员

Ubuntu 20 PPTP 提示错误的 IP 段

  •  
  •   LxnChan ·
    lxnchan · Nov 3, 2021 · 1386 views
    This topic created in 1646 days ago, the information mentioned may be changed or developed.

    如题,按照 Google 上的教程在 Ubuntu 上搭建了 PPTP 服务器,但是运行不了,查日志发现是提示错误的 IP 段。

    日志

    有人知道怎么解决吗


    题外话:在大陆用大陆服务器搭建 PPTP 协议的 VPN 服务器自己私人使用不触犯相关法律吧,或者怎么备案。

    voirnox
        1
    voirnox  
       Nov 3, 2021
    大概是这里 IP 段需要完整的一个子网
    参考关键词:CIDR 、子网掩码、子网划分
    比如说你用 10.3.2.0-20.3.2.255 大概是可以的
    cctv6
        2
    cctv6  
       Nov 3, 2021
    刚刚翻了一下文档
    IP 段应该是要这样写的 10.3.2.21-50
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5618 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 08:23 · PVG 16:23 · LAX 01:23 · JFK 04:23
    ♥ Do have faith in what you're doing.