trunk with all vlans allowed

I want bridge all vlans from port 1 to port 2, is it posible do it without know the vlans id? Something similar to switch mode trunk in Cisco, where all vlans are allowed by default.

Thanks

Yes. If you make both those interfaces members ports of the same bridge, all VLANs will be forwarded between them unless you switch vlan-filtering to yes on that bridge.

If you do, you can still permit all vlans to be forwarded:

/interface bridge vlan
add vlan-ids=2-4094 tagged=ether1,ether2 bridge=your-bridge-name

VLAN IDs 0 and 4095 are reserved for special purposes and it is better to avoid using them; different devices handle VLAN ID 1 in different ways and it is safer to avoid using it too.

If you then decide e.g. to disable forwarding of vlan 25 and want to locally access vlans 223, 224 and 1017 using /interface vlan, if vlan-filtering=yes on that bridge, the rules would look as follows:

/interface bridge vlan
add vlan-ids=2-24 tagged=ether1,ether2 bridge=your-bridge-name
add vlan-ids=26-222 tagged=ether1,ether2 bridge=your-bridge-name
add vlan-ids=223-224 tagged=ether1,ether2,your-bridge-name bridge=your-bridge-name
add vlan-ids=225-1016 tagged=ether1,ether2 bridge=your-bridge-name
add vlan-ids=1017 tagged=ether1,ether2,your-bridge-name bridge=your-bridge-name
add vlan-ids=1018-4096 tagged=ether1,ether2 bridge=your-bridge-name

Many thanks