Hello M8’s!
How should I assign a public ip to an internal? I’ve tried the example from the manual, but it doesn’t work for me. I’m using ver.2.9.28 on RB532.
Thanx
Hello M8’s!
How should I assign a public ip to an internal? I’ve tried the example from the manual, but it doesn’t work for me. I’m using ver.2.9.28 on RB532.
Thanx
Take a look at DST NAT.
Remember to look at the packet flow when NAT is involved RE: firewall rules.
Craig
it doesn’t work for me.
what should i have to set in the firewall filter?
the nat config is:
chain=dstnat dst-address=“public ip addr” action=dst-nat
to-addresses=192.168.0.100 to-ports=0-65535
chain=srcnat src-address=192.168.0.100 action=src-nat
to-addresses=“public ip addr” to-ports=0-65535
additional matcher required for the DST NAT rule, e.g. to redirect traffic from public address (than set additionally 'dst-address at least).
‘to-address’ required too for SRC NAT rule. To-address replaces local addresses to address than packets lives the router.