Using Ethernet devices in a WAN
The EX12 device has
By default, the 2/WAN Ethernet device is configured as a WAN, named ETH2, with both DHCP and NAT enabled and using the External firewall zone. This means you should be able to connect to the Internet by connecting the 2/WAN Ethernet port to another device that already has an internet connection.
The 1/PoE device is configured as a LAN interface, named ETH1, which uses the Internal firewall zone.