Page 1 of 1

Broadcast's please! also multicasting.

Posted: Wed May 24, 2006 12:09 pm
by ceacu
Broadcast forwarding (on demand).
NAT from/to broadcast addresses.

It seems that this rule:
/ip firewall nat add chain=dstnat in-interface=WAN dst-address=WAN_IP protocol=udp dst-port=7 action=dst-nat to-addresses=LAN_BROADCAST_IP to-ports=7
kiks in but the packet is not forwarded.
Also the "fake" ARP entry is installed:
/ip arp add address=LAN_BROADCAST_IP mac-address=FF:FF:FF:FF:FF:FF interface=LAN

Is this a bug or is a 'feature' wich is not (yet) implemented?

Also:
/ip firewall nat add chain=dstnat in-interface=WAN dst-address=[255.255.255.255 or WAN_BROADCAST_IP] protocol=udp dst-port=xx action=dst-nat to-addresses=LAN_IP_XX to-ports=xx
didn't working.

Don't ask me why I need this.

Regards, Claudiu Marusceac.

Re: Broadcast's please! also multicasting.

Posted: Thu Oct 03, 2013 2:33 am
by reddflash
Same problem for me. Any explanations?

Best regards,
redd flash

Re: Broadcast's please! also multicasting.

Posted: Thu Oct 03, 2013 5:01 pm
by Chupaka
maybe, that LAN_BROADCAST is received locally, that's why it's not forwarded. the same with router's addresses :)

in those network pervertions you can go further and try to route that packet to some fake gateway with 'ff:ff::ff' MAC address %) probably you will need VRF to move around local routes