Hi everybody! I need an info:
Routerboard with 2 Interface. ether1 is my Wan, ether2 is my Lan. In ether1 I have a PPPoE client configures for my xDSL modem in Bridge mode and it works. I HAVE A DYNAMIC PUBLIC IP FROM MY ISP.
In my Lan instead I have 192.168.1.1/24. classic rule, Dst-nat → Masquerade and all my clients in Lan have connections to Internet.
Now, i need a Nat rule for my internal webserver. I try with:
Chain=dstnat
Protocol=TCP
Dst-Port=80
Action=Dst-Nat
to addresses=192.168.1.10(IP Lan webserver)
to ports=80
I know, that should add in DST-Address my WAN’s IP. But in my case, I can’t… i have a dynamic pubblic ip address
How may i solve it?
Thx!