Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    PPTP. разрешения для gre протокола в брандмауэре

    Scheduled Pinned Locked Moved Russian
    2 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aka
      last edited by

      Включил сервер PPTP.
      Все работает.

      Для WAN автоматически добавились скрытые правила брандмауэра,
      разрешающие TCP 1723 и трафик GRE от любого источника до адреса получателя:

      PPTPd rules

      1. pass in on $WAN proto tcp from any to 10.177.120.102 port = 1723 modulate state label "allow pptpd 10.177.120.102"
      2. pass in on $WAN proto gre from any to any keep state label "allow gre pptpd"

      Далее.
      Я хочу, чтобы возможность соединения извне с сервером PPTP была только с адреса 10.177.120.104

      Отмечаю чекбокс (Disable all auto-added VPN rules)
      Скрытые правила "PPTPd rules" удаляются.

      Прописываю одно правило, разрешающее доступ к WAN, к порту 1723 tcp c IP 10.177.120.104
      1. TCP  10.177.120.104  *  ->  WAN address  1723 (PPTP)  * 

      Правил для gre протокола не прописываю.
      Все работает.
      Почему?
      Доступ же не открыт?!

      Единственно, где упоминается проткол gre, вывод pfctl :

      pfctl -ss
      all tcp 10.177.120.102:1723 <- 10.177.120.104:1251      TIME_WAIT:TIME_WAIT
      all gre 10.177.120.102 -> 10.177.120.104      MULTIPLE:MULTIPLE
      …

      Да, правил, оптом разрешающих все без указания протокола нет.

      1 Reply Last reply
      Reply Quote 0
      • D
        dvserg
        last edited by

        C pfSense разрешены все исходящие. Инициатором GRE у Вас является именно pfSense.

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy