Needed this the other day.
In Eoip Tunnel you can define the far point (remote-address) to use IPCloud. But the local address does not. This will grab the local WAN IP and add it to a EoIP tunnel with the word “Tunnel” in the name.
/system script
add dont-require-permissions=no name=EoipUpdate owner=admin policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=":\
local TestEoip\r\
\n:local TestCloud\r\
\n:local TestEoip [/interface eoip get [find name~\"Tunnel\"] local-addres\
s]\r\
\n:local TestCloud [/ip cloud get public-address]\r\
\n:if (\$TestEoip = \$TestCloud) do= {\r\
\n #:log info \"No Change\"\r\
\n} else= {\r\
\n /interface eoip set [find name~\"Tunnel\"] local-address=\"\$TestClo\
ud\"\r\
\n}"