Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Перенаправить трафик внутри LAN

    Scheduled Pinned Locked Moved Russian
    2 Posts 2 Posters 556 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.
    • V Offline
      VOVIK_MONSTER
      last edited by

      Всем привет.
      Задача: Перенаправить HTTP - запросы внутри LAN от comp1 на comp2, обе машины находятся в одной сети и имеют одну подсеть 192.168.1.0
      Почему ставится такая задача? На comp1 нужно установить программное обеспечение, а оно ставится только из вне с сервера, я вижу в логах что качает comp1, а качает он один файл, а куда он его сохраняет найти не могу, так бы просто туда закинул его и не парился. Но этот самый файл, который качает comp1 имеется на comp2, и тут же на comp2 поднят HFS на винде, что бы если что сразу его подсунуть для comp1. Скорость интернета и трафик очень ограничены.

      Есть статья касательно моей темы https://forum.pfsense.org/index.php?topic=80930.0 Но здесь написано что никак.
      Но хотелось бы спросить: Можно как нибудь ещё решить данный вопрос?

      Дистрибутив  2.1.3-RELEASE (amd64)
      Прокси на      squid 2.7.9

      Подскажите или направьте в нужную сторону по возможности.

      Заранее благодарю.

      1 Reply Last reply Reply Quote 0
      • P Offline
        pigbrother
        last edited by

        Как уже отвечали в приведенной вами ссылке - средствами шлюза это сделать невозможно.

        Но:

        In Microsoft Windows, starting from Windows XP, there is a built-in ability to set up network ports forwarding (port forwarding). Due to it, any connection coming to any port can be forwarded to another local port or even to port on remote computer. Not necessarily that the system has a service listens on this port.

        Port forwarding in Windows can be configured using Portproxy mode of the command Netsh. The syntax of this command is as follows:
        netsh interface portproxy add v4tov4 listenaddress=localaddress listenport=localport connectaddress=destaddress connectport=destport

        http://woshub.com/port-forwarding-in-windows/

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.