Page 1 of 1
Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?
Posted: Fri Nov 13, 2009 8:46 pm
by Flavioweb
With old 3.xx (and previous) to forward port 53280 to x.x.x.2 and x.x.x.3 simultaneously, i just used:
Action: dst-nat
To addresses: 192.168.1.2/24
With ros 4.xx is automatically converted to:
To addresses: 192.168.1.2-0.0.0.255
but... dont'work.
How can i achieve the result?
Re: Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?
Posted: Fri Nov 13, 2009 10:27 pm
by Chupaka
'To addresses' should be '192.168.1.2', not '192.168.1.2/24'!
Re: Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?
Posted: Fri Nov 13, 2009 10:55 pm
by Flavioweb
'To addresses' should be '192.168.1.2', not '192.168.1.2/24'!
Ok...
But, with 3.xx the same port was forwarded from all addresses, with 4 no.
And, again, what means the conversion from "192.168.1.2-254" to "192.168.1.2-0.0.0.254" automatically made by ros 4 in "To addresses" (using winbox)?
Isn't possible to forward more than one address in the same "rule"?
Re: Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?
Posted: Fri Nov 13, 2009 11:03 pm
by Chupaka
But, with 3.xx the same port was forwarded from all addresses, with 4 no.
no?.. works file for me... as far as I can see, nothing was changed between v3 and v4
Re: Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?
Posted: Fri Nov 13, 2009 11:27 pm
by Flavioweb
But, with 3.xx the same port was forwarded from all addresses, with 4 no.
no?.. works file for me... as far as I can see, nothing was changed between v3 and v4
If i set a single address, works fine, with "192.168.1.2-0.0.0.254" the port isn't forwarded at all.
I've already tried with:
"192.168.1.2-0.0.0.254"
"192.168.1.2-0.0.0.3"
"192.168.1.2-192.168.1.254"
"192.168.1.2-192.168.1.3"
"192.168.1.2-0.0.0.0"
nothing worked!
Only signle addresses are forwarded correctly.
I'm using V4 on Rb112 and 133c.
Re: Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?
Posted: Fri Nov 13, 2009 11:40 pm
by Chupaka
'192.168.1.2-192.168.1.3' automatically changes to '192.168.1.2/31' for me... v4.2, x86
Re: Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?
Posted: Fri Nov 13, 2009 11:46 pm
by Flavioweb
'192.168.1.2-192.168.1.3' automatically changes to '192.168.1.2/31' for me... v4.2, x86
If i try "192.168.1.2/31" my Ros 4 say that "an ipv4 address are expected"...
Also "192.168.1.2-0.0.0.2" dont'work...
Re: Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?
Posted: Sat Nov 14, 2009 12:44 am
by Chupaka
maybe 'mips-le' architecture is broken...