Hirdetés

Keresés

Új hozzászólás Aktív témák

  • Shummo

    senior tag

    válasz Intruder2k5 #708 üzenetére

    Wan egy WDR4300, amit korábban még padavanhoz beállítottam bridgenek(Swtichnek).
    Ott nem változtattam semmit.

    MAIN router> WDR4300 > MINIPC> amin fut VM-en a Hassio static IPvel.

    Ami eddig igy volt és Flintre is átvittem, hogy a nginx nekem a MIni PCn fut, így port forwardolva van GUIn :

    ⭐TCP 443 443 192.168.100.22 proxy_1
    ⭐TCP 80 80 192.168.100.22 proxy_2
    ⭐TCP 8123 8123 192.168.100.22 ( proxxy_hassio >> erre amugy lehet szükség sincs)

    100.22 > a nginx ami kezeli a DDNS továbbítását a Hassiora, ami pedig LANon a "http://192.168.100.222:8123/" érhető el.
    (megnéztem majd a köztes router nélkül. (itt most van elég port hálistennek) )

    ChatGPT kéret hogy futassam :
    iptables -t nat -L PREROUTING -n | grep 192.168.100.22 >> de nem adott outputot, amire ezt írta:
    "
    Your nvram show output confirms that all your port forwarding rules exist in NVRAM — but none of them are loaded into iptables, which means Tomato’s firewall service never applied them after boot.
    This is a known issue in Tomato64 (and some GL.iNet builds) — when the firewall starts before WAN (ppp0) or bridge (br0) are ready, it skips loading portforward rules.
    So they exist in NVRAM but don’t appear in the running iptables table.
    That’s exactly why you lose access randomly — sometimes firewall starts early (no rules), sometimes later (rules loaded correctly).
    You can safely work around it by forcing Tomato to reapply firewall rules after all interfaces are up.

    "


    Azonban a service firewall restart után sincs az alábbi output amit várna :
    "DNAT tcp -- 0.0.0.0/0  -> 192.168.100.22:80
    DNAT tcp -- 0.0.0.0/0  -> 192.168.100.22:443
    DNAT tcp -- 0.0.0.0/0  -> 192.168.100.22:8123"

    Csak ha manuálisan megadom ezt:
    "iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.100.22:80
    iptables -t nat -A PREROUTING -p tcp --dport 443 -j DNAT --to-destination 192.168.100.22:443
    iptables -t nat -A PREROUTING -p tcp --dport 8123 -j DNAT --to-destination 192.168.100.22:8123"

    Viszont nem tudom erre van e szükség, ilyet eddig nem csinaltam...

    Bocs ha értelmetlenséget irok, tökre elvesztem
    "

Új hozzászólás Aktív témák