Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    Please do some search to understand what DMZ is in the context of a router. Once you know then hopefully you'll understand why asking about port forwarding makes no sense. Commented Jun 10 at 7:32
  • 1
    from what i understood, DMZ makes it so all ports get forwarded to a ip that i choose instead of all of them being closed and only certain ones gets forwared, the thing is my router does not allow ports like 22, and a few others, i use DMZ to be able to use port 22 as it opens all ports, but i do want to forward all traffic from port 17006 for example to a windows server so basically my linux server which DMZ is pointing to forwards it to the windows server, is what i understood wrong?
    – Zribe
    Commented Jun 10 at 7:48
  • 1
    It might work, but you'll probably need to make the windows server use the linux server as its default gateway (to allow "reverse SNAT" to be applied to the replying traffics), or SNAT (MASQUERADE) (in addition to DNAT'ing) the "redirected" incoming traffics in the first place (but then on the windows server, all the requests would been seen as originated from the linux server).
    – Tom Yan
    Commented Jun 10 at 8:20
  • That is a good idea, it is a simple vmware vm (the windows box) so i am guessing its possible?
    – Zribe
    Commented Jun 10 at 8:51