Community discussions

MikroTik App
 
User avatar
Flavioweb
newbie
Topic Author
Posts: 35
Joined: Tue Jan 22, 2008 8:52 pm

Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?

Fri Nov 13, 2009 8:46 pm

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?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?

Fri Nov 13, 2009 10:27 pm

'To addresses' should be '192.168.1.2', not '192.168.1.2/24'!
 
User avatar
Flavioweb
newbie
Topic Author
Posts: 35
Joined: Tue Jan 22, 2008 8:52 pm

Re: Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?

Fri Nov 13, 2009 10:55 pm

'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"?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?

Fri Nov 13, 2009 11:03 pm

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
 
User avatar
Flavioweb
newbie
Topic Author
Posts: 35
Joined: Tue Jan 22, 2008 8:52 pm

Re: Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?

Fri Nov 13, 2009 11:27 pm

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.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?

Fri Nov 13, 2009 11:40 pm

'192.168.1.2-192.168.1.3' automatically changes to '192.168.1.2/31' for me... v4.2, x86
 
User avatar
Flavioweb
newbie
Topic Author
Posts: 35
Joined: Tue Jan 22, 2008 8:52 pm

Re: Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?

Fri Nov 13, 2009 11:46 pm

'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...
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Dst-nat 53280 to x.x.x.2 and x.x.x.3 with ros 4 : how?

Sat Nov 14, 2009 12:44 am

maybe 'mips-le' architecture is broken...