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

Pfsense и mod_proxy

Scheduled Pinned Locked Moved Russian
1 Posts 1 Posters 1.5k 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.
  • F
    fedaikin
    last edited by Jul 17, 2011, 11:02 PM

    Всем привет, ситуация следующая:
    есть pfsense в качестве шлюза и внешним ip (резолвится на domain1.com). она так же смотрит в локалку.
    в локалке есть хост, допустим 192.168.0.5, на котором есть апач.
    сейчас с 192.168.0.5 наружу проброшен 80 порт (как 8080), соответственно на него можно зайти по адресу domain1.com:8080

    хочется чтобы 192.168.0.5 был доступен по адресу domain1.com

    интернеты говорят что надо юзать mod_proxy, дописал в /var/etc/lighty-webConfigurator.conf на pfsense

    $HTTP["host"] =~ "domain1.com" {
    proxy.server = ("" => ( (
    "host" => "192.168.0.5",
    "port" => "80",
    "fix-redirects" => 1 ) ) )
    }

    но это не работает. подскажите, кто сталкивался, как правильно это реализовать?

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received